Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: mojo/services/view_manager/display_manager.cc

Issue 668483002: Change mojo URLs from mojo://mojo_foo to mojo://foo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()));
}

Powered by Google App Engine
This is Rietveld 408576698