Index: mash/webtest/webtest.cc |
diff --git a/mash/webtest/webtest.cc b/mash/webtest/webtest.cc |
index 87f5787c74fbc0ce9c01f35f11790d652feb9a10..57bf47c1fc01a6c354332b52f7942cb3bbd7892d 100644 |
--- a/mash/webtest/webtest.cc |
+++ b/mash/webtest/webtest.cc |
@@ -166,8 +166,9 @@ void Webtest::OnStart(const shell::Identity& identity) { |
views::WindowManagerConnection::Create(connector(), identity); |
} |
-bool Webtest::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::Launchable>(this); |
+bool Webtest::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::Launchable>(this); |
return true; |
} |