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

Unified Diff: chrome/app/mash/mash_runner.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 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: chrome/app/mash/mash_runner.cc
diff --git a/chrome/app/mash/mash_runner.cc b/chrome/app/mash/mash_runner.cc
index c8804d3a3e694887677d47433e6d0277eaad10a8..7a543f43951139e88955c7064bf8924b3c7864ad 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -190,8 +190,7 @@ void MashRunner::RunMain() {
shell_client_.get(),
background_shell.CreateShellClientRequest(GURL("exe:chrome_mash"))));
shell_connection_->WaitForInitialize();
- static_cast<mojo::Shell*>(shell_connection_.get())
- ->Connect("mojo:mash_shell");
+ shell_connection_->connector()->Connect("mojo:mash_shell");
base::MessageLoop::current()->Run();
}

Powered by Google App Engine
This is Rietveld 408576698