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

Unified Diff: services/ui/public/cpp/gpu_service.cc

Issue 2390013002: Rename mojo: to service: (Closed)
Patch Set: . Created 4 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
« no previous file with comments | « services/ui/manifest.json ('k') | services/ui/public/cpp/tests/window_server_shelltest_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/gpu_service.cc
diff --git a/services/ui/public/cpp/gpu_service.cc b/services/ui/public/cpp/gpu_service.cc
index a8b73cec2e9f97f6bc8bfd78c3ce0debe8e189e5..a27a24198ff600a4849038124e4139babb36c950 100644
--- a/services/ui/public/cpp/gpu_service.cc
+++ b/services/ui/public/cpp/gpu_service.cc
@@ -65,7 +65,7 @@ void GpuService::EstablishGpuChannel(
if (gpu_service_)
return;
- connector_->ConnectToInterface("mojo:ui", &gpu_service_);
+ connector_->ConnectToInterface("service:ui", &gpu_service_);
gpu_service_->EstablishGpuChannel(
base::Bind(&GpuService::OnEstablishedGpuChannel, base::Unretained(this)));
}
@@ -78,7 +78,7 @@ scoped_refptr<gpu::GpuChannelHost> GpuService::EstablishGpuChannelSync() {
int client_id = 0;
mojo::ScopedMessagePipeHandle channel_handle;
gpu::GPUInfo gpu_info;
- connector_->ConnectToInterface("mojo:ui", &gpu_service_);
+ connector_->ConnectToInterface("service:ui", &gpu_service_);
mojo::SyncCallRestrictions::ScopedAllowSyncCall allow_sync_call;
if (!gpu_service_->EstablishGpuChannel(&client_id, &channel_handle,
« no previous file with comments | « services/ui/manifest.json ('k') | services/ui/public/cpp/tests/window_server_shelltest_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698