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

Unified Diff: mandoline/ui/browser/browser_manager.cc

Issue 1266643003: ApplicationImpl cleanup, part 1: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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 | « device/devices_app/devices_app.cc ('k') | mojo/application/public/cpp/app_lifetime_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/browser_manager.cc
diff --git a/mandoline/ui/browser/browser_manager.cc b/mandoline/ui/browser/browser_manager.cc
index 527e2652a951823f0cadebfe05dbe08478d68b50..a4f9c63142dd95529150a30a70b9c7b5ecd091d7 100644
--- a/mandoline/ui/browser/browser_manager.cc
+++ b/mandoline/ui/browser/browser_manager.cc
@@ -67,7 +67,7 @@ void BrowserManager::BrowserClosed(Browser* browser) {
DCHECK_GT(browsers_.count(browser), 0u);
browsers_.erase(browser);
if (browsers_.empty())
- app_->Terminate();
+ app_->Quit();
}
void BrowserManager::InitUIIfNecessary(Browser* browser, mojo::View* view) {
« no previous file with comments | « device/devices_app/devices_app.cc ('k') | mojo/application/public/cpp/app_lifetime_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698