diff options
author | rsesek <rsesek@chromium.org> | 2015-07-22 09:06:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-22 16:07:00 +0000 |
commit | 787e2b2d0110448a5added6c9aae8fc7f9134144 (patch) | |
tree | 3fcf06af87cdc26c0bedce9600d532bb5246f7a1 /printing | |
parent | 0b866e1ba9b26a8d39247e552ab5f4d62a8e238c (diff) | |
download | chromium_src-787e2b2d0110448a5added6c9aae8fc7f9134144.zip chromium_src-787e2b2d0110448a5added6c9aae8fc7f9134144.tar.gz chromium_src-787e2b2d0110448a5added6c9aae8fc7f9134144.tar.bz2 |
Remove base/mac/scoped_nsexception_enabler.h.
Exception fatalisation is now handled via base::mac::CallWithEHFrame, so
this file is unnecessary.
The base::mac::ScopedNSExceptionEnabler is removed, since instantiating an
NSException is no longer fatal (only an uncaught one is).
base::mac::RunBlockIgnoringExceptions has been removed where possible or converted
to a @try/@catch to swallow any exceptions.
BUG=503128
R=shess@chromium.org
Review URL: https://codereview.chromium.org/1233983004
Cr-Commit-Position: refs/heads/master@{#339884}
Diffstat (limited to 'printing')
-rw-r--r-- | printing/printing_context_mac.mm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm index 8689897..36badc3 100644 --- a/printing/printing_context_mac.mm +++ b/printing/printing_context_mac.mm @@ -12,7 +12,6 @@ #include "base/logging.h" #include "base/mac/scoped_cftyperef.h" #include "base/mac/scoped_nsautorelease_pool.h" -#include "base/mac/scoped_nsexception_enabler.h" #include "base/strings/sys_string_conversions.h" #include "base/strings/utf_string_conversions.h" #include "base/values.h" @@ -86,11 +85,6 @@ void PrintingContextMac::AskUserForSettings( bool has_selection, bool is_scripted, const PrintSettingsCallback& callback) { - // Third-party print drivers seem to be an area prone to raising exceptions. - // This will allow exceptions to be raised, but does not handle them. The - // NSPrintPanel appears to have appropriate NSException handlers. - base::mac::ScopedNSExceptionEnabler enabler; - // Exceptions can also happen when the NSPrintPanel is being // deallocated, so it must be autoreleased within this scope. base::mac::ScopedNSAutoreleasePool pool; |