Index: mash/example/window_type_launcher/main.cc |
diff --git a/mash/example/window_type_launcher/main.cc b/mash/example/window_type_launcher/main.cc |
index e0e178d969744d468fdbd8d17ca0341fc46a654a..28750b7f8a348a46e6cc70a6e4ba10d01f736890 100644 |
--- a/mash/example/window_type_launcher/main.cc |
+++ b/mash/example/window_type_launcher/main.cc |
@@ -18,7 +18,7 @@ |
#include "mojo/edk/embedder/process_delegate.h" |
#include "mojo/shell/public/cpp/shell_connection.h" |
#include "mojo/shell/public/interfaces/shell_client.mojom.h" |
-#include "mojo/shell/runner/child/runner_connection.h" |
+#include "mojo/shell/runner/common/client_util.h" |
#include "mojo/shell/runner/init.h" |
namespace { |
@@ -63,9 +63,8 @@ int main(int argc, char** argv) { |
base::MessageLoop loop; |
WindowTypeLauncher delegate; |
- mojo::ShellConnection impl(&delegate); |
- scoped_ptr<mojo::shell::RunnerConnection> connection = |
- mojo::shell::RunnerConnection::Create(&impl); |
+ mojo::ShellConnection impl( |
+ &delegate, mojo::shell::GetShellClientRequestFromCommandLine()); |
loop.Run(); |
mojo::edk::ShutdownIPCSupport(); |