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

Unified Diff: chrome/browser/automation/automation_provider_list_mac.mm

Issue 201121: Chrome should shut down cleanly when quit from the Dock icon menu, during... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/browser_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_list_mac.mm
===================================================================
--- chrome/browser/automation/automation_provider_list_mac.mm (revision 26250)
+++ chrome/browser/automation/automation_provider_list_mac.mm (working copy)
@@ -4,10 +4,10 @@
#include "chrome/browser/automation/automation_provider_list.h"
-#import "chrome/browser/app_controller_mac.h"
+#import <AppKit/AppKit.h>
void AutomationProviderList::OnLastProviderRemoved() {
// We need to explicitly quit the application here because on Mac
// the controller holds an additional reference to g_browser_process.
- [[NSApp delegate] quit:nil];
+ [NSApp terminate:nil];
}
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/browser_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698