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; |
} |