| Index: components/display_compositor/gl_helper_benchmark.cc
|
| diff --git a/components/display_compositor/gl_helper_benchmark.cc b/components/display_compositor/gl_helper_benchmark.cc
|
| index 38e009fc61cab10261f6f4c89c242f2716e01ea9..674e4fd18bd84661e3c037a6c609472cb7efc562 100644
|
| --- a/components/display_compositor/gl_helper_benchmark.cc
|
| +++ b/components/display_compositor/gl_helper_benchmark.cc
|
| @@ -67,16 +67,16 @@ class GLHelperBenchmark : public testing::Test {
|
| attributes.bind_generates_resource = false;
|
| attributes.gpu_preference = gl::PreferDiscreteGpu;
|
|
|
| - context_.reset(gpu::GLInProcessContext::Create(
|
| - nullptr, /* service */
|
| - nullptr, /* surface */
|
| - true, /* offscreen */
|
| - gfx::kNullAcceleratedWidget, /* window */
|
| - nullptr, /* share_context */
|
| - attributes, gpu::SharedMemoryLimits(),
|
| - nullptr, /* gpu_memory_buffer_manager */
|
| - nullptr, /* image_factory */
|
| - base::ThreadTaskRunnerHandle::Get()));
|
| + context_.reset(
|
| + gpu::GLInProcessContext::Create(nullptr, /* service */
|
| + nullptr, /* surface */
|
| + true, /* offscreen */
|
| + gpu::kNullSurfaceHandle, /* window */
|
| + nullptr, /* share_context */
|
| + attributes, gpu::SharedMemoryLimits(),
|
| + nullptr, /* gpu_memory_buffer_manager */
|
| + nullptr, /* image_factory */
|
| + base::ThreadTaskRunnerHandle::Get()));
|
| gl_ = context_->GetImplementation();
|
| gpu::ContextSupport* support = context_->GetImplementation();
|
|
|
|
|