| Index: ui/aura/mus/gpu_service.cc
|
| diff --git a/ui/aura/mus/gpu_service.cc b/ui/aura/mus/gpu_service.cc
|
| index 6ed3255bab48b2949e450da65fbdf401c8d891f1..4ffe4900c4685bd8995321ad29e2d159e501277a 100644
|
| --- a/ui/aura/mus/gpu_service.cc
|
| +++ b/ui/aura/mus/gpu_service.cc
|
| @@ -11,6 +11,7 @@
|
| #include "mojo/public/cpp/bindings/sync_call_restrictions.h"
|
| #include "mojo/public/cpp/system/platform_handle.h"
|
| #include "services/service_manager/public/cpp/connector.h"
|
| +#include "services/ui/public/interfaces/constants.mojom.h"
|
| #include "services/ui/public/interfaces/gpu_service.mojom.h"
|
| #include "ui/aura/mus/mojo_gpu_memory_buffer_manager.h"
|
|
|
| @@ -64,7 +65,7 @@ void GpuService::EstablishGpuChannel(
|
| if (gpu_service_)
|
| return;
|
|
|
| - connector_->ConnectToInterface("ui", &gpu_service_);
|
| + connector_->ConnectToInterface(ui::mojom::kServiceName, &gpu_service_);
|
| gpu_service_->EstablishGpuChannel(
|
| base::Bind(&GpuService::OnEstablishedGpuChannel, base::Unretained(this)));
|
| }
|
| @@ -77,7 +78,7 @@ scoped_refptr<gpu::GpuChannelHost> GpuService::EstablishGpuChannelSync() {
|
| int client_id = 0;
|
| mojo::ScopedMessagePipeHandle channel_handle;
|
| gpu::GPUInfo gpu_info;
|
| - connector_->ConnectToInterface("ui", &gpu_service_);
|
| + connector_->ConnectToInterface(ui::mojom::kServiceName, &gpu_service_);
|
|
|
| mojo::SyncCallRestrictions::ScopedAllowSyncCall allow_sync_call;
|
| if (!gpu_service_->EstablishGpuChannel(&client_id, &channel_handle,
|
|
|