Index: components/web_view/web_view_application_delegate.cc |
diff --git a/components/web_view/web_view_application_delegate.cc b/components/web_view/web_view_application_delegate.cc |
index 1c9c5c76e30dd48a20d6f3978785a0e410ad970e..b1487bf3d319d9ecedbe0b45c98cf92f0209f80b 100644 |
--- a/components/web_view/web_view_application_delegate.cc |
+++ b/components/web_view/web_view_application_delegate.cc |
@@ -23,7 +23,7 @@ void WebViewApplicationDelegate::Initialize(mojo::Shell* shell, |
bool WebViewApplicationDelegate::AcceptConnection( |
mojo::Connection* connection) { |
- connection->AddService<mojom::WebViewFactory>(this); |
+ connection->AddInterface<mojom::WebViewFactory>(this); |
return true; |
} |