Index: mojo/shell/public/cpp/lib/application_runner.cc |
diff --git a/mojo/shell/public/cpp/lib/application_runner.cc b/mojo/shell/public/cpp/lib/application_runner.cc |
index dd9be48f3401c27be453e4fbb5a433ae44140044..5253053d43f55ebe113404b038976858ab1abffc 100644 |
--- a/mojo/shell/public/cpp/lib/application_runner.cc |
+++ b/mojo/shell/public/cpp/lib/application_runner.cc |
@@ -81,4 +81,8 @@ void ApplicationRunner::DestroyShellConnection() { |
connection_.reset(); |
} |
+void ApplicationRunner::Quit() { |
+ base::MessageLoop::current()->QuitWhenIdle(); |
+} |
+ |
} // namespace mojo |