Index: mash/example/views_examples/views_examples.cc |
diff --git a/mash/example/views_examples/views_examples.cc b/mash/example/views_examples/views_examples.cc |
index 49b4fe1f27b5831643c1a3456078eaba64e35ed2..9585f723c2730ea7a69fd1896c3928a48318e5ab 100644 |
--- a/mash/example/views_examples/views_examples.cc |
+++ b/mash/example/views_examples/views_examples.cc |
@@ -40,8 +40,9 @@ class ViewsExamples |
window_manager_connection_ = |
views::WindowManagerConnection::Create(connector(), identity); |
} |
- bool OnConnect(shell::Connection* connection) override { |
- connection->AddInterface<mash::mojom::Launchable>(this); |
+ bool OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) override { |
+ registry->AddInterface<mash::mojom::Launchable>(this); |
return true; |
} |