Index: components/devtools_service/devtools_service_delegate.cc |
diff --git a/components/devtools_service/devtools_service_delegate.cc b/components/devtools_service/devtools_service_delegate.cc |
index d4384ccbbd0be78c796c769019c04e6bcf27ef26..9e3dc5ff6fddd36481739824c8da5c3ca72b3c63 100644 |
--- a/components/devtools_service/devtools_service_delegate.cc |
+++ b/components/devtools_service/devtools_service_delegate.cc |
@@ -39,12 +39,12 @@ void DevToolsServiceDelegate::Initialize(mojo::Shell* shell, |
} |
bool DevToolsServiceDelegate::AcceptConnection(mojo::Connection* connection) { |
- connection->AddService<DevToolsRegistry>(this); |
+ connection->AddInterface<DevToolsRegistry>(this); |
// DevToolsCoordinator is a privileged interface and only allowed for the |
// shell. |
if (IsShell(GURL(connection->GetRemoteApplicationURL()))) |
- connection->AddService<DevToolsCoordinator>(this); |
+ connection->AddInterface<DevToolsCoordinator>(this); |
return true; |
} |