diff --git a/appshell.gyp b/appshell.gyp index 18c89cd91..db470c6df 100755 --- a/appshell.gyp +++ b/appshell.gyp @@ -77,6 +77,7 @@ # Target build path. 'SYMROOT': 'xcodebuild', 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', }, 'conditions': [ @@ -381,6 +382,7 @@ # Target build path. 'SYMROOT': 'xcodebuild', 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', }, 'conditions': [ @@ -472,6 +474,7 @@ 'OTHER_LDFLAGS': ['-Wl,-headerpad_max_install_names'], 'SYMROOT': 'xcodebuild', 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', + 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 'FRAMEWORK_SEARCH_PATHS': [ '$(inherited)', diff --git a/appshell/client_handler_mac.mm b/appshell/client_handler_mac.mm index 80262c041..cfee9b906 100644 --- a/appshell/client_handler_mac.mm +++ b/appshell/client_handler_mac.mm @@ -520,7 +520,7 @@ - (void)windowDidResignKey:(NSNotification *)notification { // CEF 1750 -- We need to not handle keys for the DevTools Window. - if (browser->GetFocusedFrame()->GetURL() == "chrome-devtools://devtools/devtools.html") { + if (browser->GetFocusedFrame()->GetURL() == "chrome-devtools://devtools/inspector.html") { return false; }