Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 4105aed18033639f767933a344bce6214098407d..4b4a43a375081c960397c40681a6984ff9ca353a 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -1241,6 +1241,11 @@ void GpuProcessHost::LoadedShader(const std::string& key, |
gpu_service_ptr_->LoadedShader(data); |
} |
+ui::mojom::GpuService* GpuProcessHost::gpu_service() { |
+ DCHECK(gpu_service_ptr_.is_bound()); |
+ return gpu_service_ptr_.get(); |
+} |
+ |
void GpuProcessHost::CreateChannelCache(int32_t client_id) { |
TRACE_EVENT0("gpu", "GpuProcessHost::CreateChannelCache"); |