Index: mojo/services/view_manager/display_manager.cc |
diff --git a/mojo/services/view_manager/display_manager.cc b/mojo/services/view_manager/display_manager.cc |
index 06162d18ee6f25708065dbf28546a99c5be76229..548817730d000204482a9c64a0edf7a2468776f1 100644 |
--- a/mojo/services/view_manager/display_manager.cc |
+++ b/mojo/services/view_manager/display_manager.cc |
@@ -77,7 +77,7 @@ DisplayManager::DisplayManager( |
size_(800, 600), |
draw_timer_(false, false), |
weak_factory_(this) { |
- app_connection->ConnectToService("mojo:mojo_native_viewport_service", |
+ app_connection->ConnectToService("mojo:native_viewport_service", |
&native_viewport_); |
native_viewport_.set_client(this); |
native_viewport_->Create( |
@@ -85,8 +85,7 @@ DisplayManager::DisplayManager( |
base::Bind(&DisplayManager::OnCreatedNativeViewport, |
weak_factory_.GetWeakPtr())); |
native_viewport_->Show(); |
- app_connection->ConnectToService("mojo:mojo_surfaces_service", |
- &surfaces_service_); |
+ app_connection->ConnectToService("mojo:surfaces_service", &surfaces_service_); |
surfaces_service_->CreateSurfaceConnection(base::Bind( |
&DisplayManager::OnSurfaceConnectionCreated, weak_factory_.GetWeakPtr())); |
} |