Index: mash/wm/window_manager_application.cc |
diff --git a/mash/wm/window_manager_application.cc b/mash/wm/window_manager_application.cc |
index 5a0a5ab7dc28147553171b9e45bcbb64a1095323..704811d383191b5f86fccd1630f2243ab464b7d7 100644 |
--- a/mash/wm/window_manager_application.cc |
+++ b/mash/wm/window_manager_application.cc |
@@ -121,8 +121,8 @@ void WindowManagerApplication::Initialize(mojo::Shell* shell, |
} |
bool WindowManagerApplication::AcceptConnection(mojo::Connection* connection) { |
- connection->AddService<mash::wm::mojom::UserWindowController>(this); |
- connection->AddService<mus::mojom::AcceleratorRegistrar>(this); |
+ connection->AddInterface<mash::wm::mojom::UserWindowController>(this); |
+ connection->AddInterface<mus::mojom::AcceleratorRegistrar>(this); |
return true; |
} |