| 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..3dc916dad929977398ddd6b86e6cc6dd59e34d52 100644
|
| --- a/chrome/app/mash/mash_runner.cc
|
| +++ b/chrome/app/mash/mash_runner.cc
|
| @@ -24,6 +24,7 @@
|
| #include "mojo/shell/background/background_shell.h"
|
| #include "mojo/shell/identity.h"
|
| #include "mojo/shell/native_runner_delegate.h"
|
| +#include "mojo/shell/public/cpp/connector.h"
|
| #include "mojo/shell/public/cpp/shell_client.h"
|
| #include "mojo/shell/public/cpp/shell_connection.h"
|
| #include "mojo/shell/public/interfaces/shell_client_factory.mojom.h"
|
| @@ -190,8 +191,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();
|
| }
|
|
|
|
|