| Index: content/renderer/gpu/gpu_benchmarking_extension.cc
|
| diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
|
| index 42f6995ff233dda56270b1647573847c6c171578..82f1603281b32c65adb16d13332eaf1d1d044c73 100644
|
| --- a/content/renderer/gpu/gpu_benchmarking_extension.cc
|
| +++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
|
| @@ -955,7 +955,8 @@ void GpuBenchmarking::GetGpuDriverBugWorkarounds(gin::Arguments* args) {
|
| std::vector<std::string> gpu_driver_bug_workarounds;
|
| gpu::GpuChannelHost* gpu_channel =
|
| RenderThreadImpl::current()->GetGpuChannel();
|
| - if (!gpu_channel->Send(new GpuChannelMsg_GetDriverBugWorkArounds(
|
| + if (!gpu_channel ||
|
| + !gpu_channel->Send(new GpuChannelMsg_GetDriverBugWorkArounds(
|
| &gpu_driver_bug_workarounds))) {
|
| return;
|
| }
|
|
|