Index: components/web_view/frame_apptest.cc |
diff --git a/components/web_view/frame_apptest.cc b/components/web_view/frame_apptest.cc |
index cd79680ee0ba2dc293ba741789f178bd6dcab746..5dec81940a76c4176e4515c6e57fad8820ad6b55 100644 |
--- a/components/web_view/frame_apptest.cc |
+++ b/components/web_view/frame_apptest.cc |
@@ -354,8 +354,8 @@ class FrameTest : public mojo::test::ApplicationTestBase, |
// mojo::ShellClient implementation. |
bool AcceptConnection(mojo::Connection* connection) override { |
- connection->AddService<mus::mojom::WindowTreeClient>(this); |
- connection->AddService<mojom::FrameClient>(this); |
+ connection->AddInterface<mus::mojom::WindowTreeClient>(this); |
+ connection->AddInterface<mojom::FrameClient>(this); |
return true; |
} |