Pass compilation on mac.

This commit is contained in:
Haojian Wu 2016-08-05 22:57:33 +02:00
parent cd169f933e
commit 2e5eeef70e
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
// Set our own application delegate.
AtomApplicationDelegate* delegate = [[AtomApplicationDelegate alloc] init];
[NSApp setDelegate:(id<NSFileManagerDelegate>)delegate];
[NSApp setDelegate:delegate];
brightray::BrowserMainParts::PreMainMessageLoopStart();