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

Unified Diff: mojo/application/public/cpp/lib/app_lifetime_helper.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 | « mojo/application/public/cpp/application_impl.h ('k') | mojo/application/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application/public/cpp/lib/app_lifetime_helper.cc
diff --git a/mojo/application/public/cpp/lib/app_lifetime_helper.cc b/mojo/application/public/cpp/lib/app_lifetime_helper.cc
index 4d12339138056b4b39172699a7ca41074b9d816c..74c7ee86ecd61b85b72cff874ec16e51a7b9fddc 100644
--- a/mojo/application/public/cpp/lib/app_lifetime_helper.cc
+++ b/mojo/application/public/cpp/lib/app_lifetime_helper.cc
@@ -83,11 +83,11 @@ void AppLifetimeHelper::AddRef() {
void AppLifetimeHelper::Release() {
if (!--ref_count_) {
if (app_)
- app_->Terminate();
+ app_->Quit();
}
}
-void AppLifetimeHelper::ApplicationTerminated() {
+void AppLifetimeHelper::OnQuit() {
app_ = nullptr;
}
« no previous file with comments | « mojo/application/public/cpp/application_impl.h ('k') | mojo/application/public/cpp/lib/application_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698