Index: mash/task_viewer/task_viewer_application_delegate.cc |
diff --git a/mash/task_viewer/task_viewer_application_delegate.cc b/mash/task_viewer/task_viewer_application_delegate.cc |
index ff3f9d394698769b7920b68e3cf030b14ba06d1b..beb817451a24d90a5e03a11973a745b21ce92f2c 100644 |
--- a/mash/task_viewer/task_viewer_application_delegate.cc |
+++ b/mash/task_viewer/task_viewer_application_delegate.cc |
@@ -244,7 +244,7 @@ void TaskViewerApplicationDelegate::Initialize(mojo::Shell* shell, |
views::WindowManagerConnection::Create(shell); |
mojo::shell::mojom::ApplicationManagerPtr application_manager; |
- shell->ConnectToService("mojo:shell", &application_manager); |
+ shell->ConnectToInterface("mojo:shell", &application_manager); |
mojo::shell::mojom::ApplicationManagerListenerPtr listener; |
ListenerRequest request = GetProxy(&listener); |