Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: chrome/browser/chrome_browser_main_mac.mm

Issue 2112553009: mac: Crash on uncaught Objective-C exceptions routed to NSApplication (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/app/mac/mac_init.mm » ('j') | content/app/mac/mac_init.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main_mac.mm
diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm
index 11d7ff43ffe2eca372f1ea0df596b93a7693d278..f747f4a8aa13596aa9281262a3fea88e50a0f1ee 100644
--- a/chrome/browser/chrome_browser_main_mac.mm
+++ b/chrome/browser/chrome_browser_main_mac.mm
@@ -152,14 +152,6 @@ void EnsureMetadataNeverIndexFile(const base::FilePath& user_data_dir) {
[nib instantiateNibWithOwner:NSApp topLevelObjects:nil];
// Make sure the app controller has been created.
DCHECK([NSApp delegate]);
-
- [[NSUserDefaults standardUserDefaults] registerDefaults:@{
- // Prevent Cocoa from turning command-line arguments into
- // |-application:openFiles:|, since we already handle them directly.
- // @"NO" looks like a mistake, but the value really is supposed to be a
- // string.
- @"NSTreatUnknownArgumentsAsOpen": @"NO"
- }];
}
void ChromeBrowserMainPartsMac::PostMainMessageLoopStart() {
« no previous file with comments | « no previous file | content/app/mac/mac_init.mm » ('j') | content/app/mac/mac_init.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698