Index: mash/wm/root_window_controller.cc |
diff --git a/mash/wm/root_window_controller.cc b/mash/wm/root_window_controller.cc |
index ab91b759ead8da3756cd4b8e18f822d7e534cb1e..161d0cc0e408847f6ae10fb3f0b08f8e6d6e48a3 100644 |
--- a/mash/wm/root_window_controller.cc |
+++ b/mash/wm/root_window_controller.cc |
@@ -141,7 +141,7 @@ void RootWindowController::OnEmbed(mus::Window* root) { |
AddAccelerators(); |
mash::shell::mojom::ShellPtr shell; |
- app_->shell()->ConnectToService("mojo:mash_shell", &shell); |
+ app_->shell()->ConnectToInterface("mojo:mash_shell", &shell); |
window_manager_->Initialize(this, std::move(shell)); |
shadow_controller_.reset(new ShadowController(root->connection())); |