Index: mash/catalog_viewer/catalog_viewer.cc |
diff --git a/mash/catalog_viewer/catalog_viewer.cc b/mash/catalog_viewer/catalog_viewer.cc |
index e86c5efba3ffdf1278f08a709cc45d21c42201ed..7af4a71d7ff625552a8e62aa12b819fba151f3dd 100644 |
--- a/mash/catalog_viewer/catalog_viewer.cc |
+++ b/mash/catalog_viewer/catalog_viewer.cc |
@@ -175,8 +175,9 @@ void CatalogViewer::OnStart(const shell::Identity& identity) { |
views::WindowManagerConnection::Create(connector(), identity); |
} |
-bool CatalogViewer::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::Launchable>(this); |
+bool CatalogViewer::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::Launchable>(this); |
return true; |
} |