mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Mac: Fix 10.10 SDK compile and test errors (issue #1414)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "include/wrapper/cef_helpers.h"
|
||||
|
||||
// Receives notifications from the application.
|
||||
@interface SimpleAppDelegate : NSObject
|
||||
@interface SimpleAppDelegate : NSObject<NSApplicationDelegate>
|
||||
- (void)createApplication:(id)object;
|
||||
- (void)tryToTerminateApplication:(NSApplication*)app;
|
||||
@end
|
||||
@@ -90,7 +90,7 @@
|
||||
[NSBundle loadNibNamed:@"MainMenu" owner:NSApp];
|
||||
|
||||
// Set the delegate for application events.
|
||||
[NSApp setDelegate:self];
|
||||
[[NSApplication sharedApplication] setDelegate:self];
|
||||
}
|
||||
|
||||
- (void)tryToTerminateApplication:(NSApplication*)app {
|
||||
|
Reference in New Issue
Block a user