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

Unified Diff: mojo/public/shell/lib/application.cc

Issue 162213002: Change mojo demo apps to use Application. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: mojo/public/shell/lib/application.cc
diff --git a/mojo/public/shell/lib/application.cc b/mojo/public/shell/lib/application.cc
index dde322762c7b364bac886bdfc700c3e5d37fc7f5..c46ce306b2346667f031571b0e3138f8ad55a9b2 100644
--- a/mojo/public/shell/lib/application.cc
+++ b/mojo/public/shell/lib/application.cc
@@ -11,7 +11,7 @@ Application::Application(ScopedShellHandle shell_handle)
}
Application::Application(MojoHandle shell_handle)
- : shell_(mojo::MakeScopedHandle(ShellHandle(shell_handle)).Pass()) {}
+ : shell_(mojo::MakeScopedHandle(ShellHandle(shell_handle)).Pass(), this) {}
Application::~Application() {
for (ServiceFactoryList::iterator it = service_factories_.begin();

Powered by Google App Engine
This is Rietveld 408576698