Index: components/display_compositor/gl_helper_unittest.cc |
diff --git a/components/display_compositor/gl_helper_unittest.cc b/components/display_compositor/gl_helper_unittest.cc |
index b70e9211d8f8b52f91f681a26bad1adf2ca28bd8..73a837dfd0e2f28a549e7cadd12b1ee6813f0617 100644 |
--- a/components/display_compositor/gl_helper_unittest.cc |
+++ b/components/display_compositor/gl_helper_unittest.cc |
@@ -67,16 +67,16 @@ class GLHelperTest : public testing::Test { |
attributes.sample_buffers = 1; |
attributes.bind_generates_resource = false; |
- 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(); |