Properly clean up NSEvent monitor

This commit is contained in:
Ben Gotow 2016-01-21 16:31:31 -08:00
parent d492ff45d5
commit e96e674201
2 changed files with 19 additions and 15 deletions

View file

@ -110,6 +110,7 @@ class NativeWindowMac : public NativeWindow {
base::scoped_nsobject<AtomNSWindow> window_;
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;
base::scoped_nsobject<id> event_monitor_;
// The view that will fill the whole frameless window.
base::scoped_nsobject<FullSizeContentView> content_view_;