Index: components/mus/mus_app.cc |
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc |
index cd7a78679c2b5518d9cff37a1a64e52e4b8f5867..f8a3b467838f6d983565057c4d3c060036934a8b 100644 |
--- a/components/mus/mus_app.cc |
+++ b/components/mus/mus_app.cc |
@@ -91,11 +91,11 @@ void MandolineUIServicesApp::Initialize(mojo::Shell* shell, |
} |
bool MandolineUIServicesApp::AcceptConnection(Connection* connection) { |
- connection->AddService<Gpu>(this); |
- connection->AddService<mojom::DisplayManager>(this); |
- connection->AddService<mojom::WindowManagerFactoryService>(this); |
- connection->AddService<mojom::WindowTreeFactory>(this); |
- connection->AddService<WindowTreeHostFactory>(this); |
+ connection->AddInterface<Gpu>(this); |
+ connection->AddInterface<mojom::DisplayManager>(this); |
+ connection->AddInterface<mojom::WindowManagerFactoryService>(this); |
+ connection->AddInterface<mojom::WindowTreeFactory>(this); |
+ connection->AddInterface<WindowTreeHostFactory>(this); |
return true; |
} |