Index: mash/task_viewer/task_viewer.cc |
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc |
index 51f6cbdac1c2a4b2333251856d97a08dc99e1204..321c858fa7daa00f629e9f3da17a55556c7a3722 100644 |
--- a/mash/task_viewer/task_viewer.cc |
+++ b/mash/task_viewer/task_viewer.cc |
@@ -283,9 +283,9 @@ void TaskViewer::RemoveWindow(views::Widget* widget) { |
base::MessageLoop::current()->QuitWhenIdle(); |
} |
-void TaskViewer::Initialize(shell::Connector* connector, |
- const shell::Identity& identity, |
- uint32_t id) { |
+void TaskViewer::OnStart(shell::Connector* connector, |
+ const shell::Identity& identity, |
+ uint32_t id) { |
connector_ = connector; |
tracing_.Initialize(connector, identity.name()); |
@@ -294,7 +294,7 @@ void TaskViewer::Initialize(shell::Connector* connector, |
views::WindowManagerConnection::Create(connector, identity); |
} |
-bool TaskViewer::AcceptConnection(shell::Connection* connection) { |
+bool TaskViewer::OnConnect(shell::Connection* connection) { |
connection->AddInterface<mojom::Launchable>(this); |
return true; |
} |