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