diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-24 22:07:05 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-24 22:07:05 +0000 |
commit | 39e3b9538deaedaaa8104f1cc67bcddaacad8269 (patch) | |
tree | 1954c4dbd73ffdce24040d2dea10bbc3a6e59691 /base/base.gypi | |
parent | 3aca95d4039b0f7d4ffb3a811a94622afa7f4114 (diff) | |
download | chromium_src-39e3b9538deaedaaa8104f1cc67bcddaacad8269.zip chromium_src-39e3b9538deaedaaa8104f1cc67bcddaacad8269.tar.gz chromium_src-39e3b9538deaedaaa8104f1cc67bcddaacad8269.tar.bz2 |
[Mac] Allow NSExceptions in certain cases.
Thirdy-party print drivers seem to be a source of NSExceptions which
Chromium will never be able to fix. ScopedNSExceptionEnabler causes
the code which makes throwing an NSException fatal to allow throws.
The flag will be reset in -reportException: in most cases.
For now, allow exceptions to be thrown for -selectPDE: (bug 80686) and
PrintingContextMac::AskUserForSettings() (bug 82589).
BUG=80686, 82589
TEST=Monitor crash server.
Review URL: http://codereview.chromium.org/7038010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86503 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r-- | base/base.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi index c3bcd00..22d66f8 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -129,6 +129,8 @@ 'mac/scoped_cftyperef.h', 'mac/scoped_nsautorelease_pool.h', 'mac/scoped_nsautorelease_pool.mm', + 'mac/scoped_nsexception_enabler.h', + 'mac/scoped_nsexception_enabler.mm', 'mach_ipc_mac.h', 'mach_ipc_mac.mm', 'memory/linked_ptr.h', |