Index: mash/task_viewer/task_viewer.cc |
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc |
index 1942dd6fb4e9d931f5cd98144f2624a86b4f099b..68a049876735fde19ac8d30c266e03429afe3a16 100644 |
--- a/mash/task_viewer/task_viewer.cc |
+++ b/mash/task_viewer/task_viewer.cc |
@@ -294,8 +294,9 @@ void TaskViewer::OnStart(const shell::Identity& identity) { |
views::WindowManagerConnection::Create(connector(), identity); |
} |
-bool TaskViewer::OnConnect(shell::Connection* connection) { |
- connection->AddInterface<mojom::Launchable>(this); |
+bool TaskViewer::OnConnect(const shell::Identity& remote_identity, |
+ shell::InterfaceRegistry* registry) { |
+ registry->AddInterface<mojom::Launchable>(this); |
return true; |
} |