Index: content/browser/gpu/gpu_client.cc |
diff --git a/content/browser/gpu/gpu_client.cc b/content/browser/gpu/gpu_client.cc |
index 3faea935db116b06c4a03c4c9c791d9618dc8db5..9fe3e051cea95e9987bd998ee0c850fccf87880d 100644 |
--- a/content/browser/gpu/gpu_client.cc |
+++ b/content/browser/gpu/gpu_client.cc |
@@ -41,7 +41,8 @@ void GpuClient::OnError() { |
void GpuClient::OnEstablishGpuChannel( |
const EstablishGpuChannelCallback& callback, |
const IPC::ChannelHandle& channel, |
- const gpu::GPUInfo& gpu_info) { |
+ const gpu::GPUInfo& gpu_info, |
+ GpuProcessHost::EstablishChannelStatus status) { |
mojo::ScopedMessagePipeHandle channel_handle; |
channel_handle.reset(channel.mojo_handle); |
callback.Run(render_process_id_, std::move(channel_handle), gpu_info); |
@@ -58,7 +59,9 @@ void GpuClient::EstablishGpuChannel( |
GpuProcessHost* host = |
GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED); |
if (!host) { |
- OnEstablishGpuChannel(callback, IPC::ChannelHandle(), gpu::GPUInfo()); |
+ OnEstablishGpuChannel( |
+ callback, IPC::ChannelHandle(), gpu::GPUInfo(), |
+ GpuProcessHost::EstablishChannelStatus::GPU_ACCESS_DENIED); |
return; |
} |