Index: mojo/shell/shell_application_delegate.cc |
diff --git a/mojo/shell/shell_application_delegate.cc b/mojo/shell/shell_application_delegate.cc |
index dcac9deb1abd08d48c2084a652f96e4549bbf02c..47df9d432b96efc04f7bd339eb11458f733fcf54 100644 |
--- a/mojo/shell/shell_application_delegate.cc |
+++ b/mojo/shell/shell_application_delegate.cc |
@@ -24,7 +24,7 @@ ShellApplicationDelegate::~ShellApplicationDelegate() {} |
void ShellApplicationDelegate::Initialize(Shell* shell, const std::string& url, |
uint32_t id) {} |
bool ShellApplicationDelegate::AcceptConnection(Connection* connection) { |
- connection->AddService<mojom::ApplicationManager>(this); |
+ connection->AddInterface<mojom::ApplicationManager>(this); |
return true; |
} |