| Index: services/ui/public/cpp/gles2_context.cc
|
| diff --git a/services/ui/public/cpp/gles2_context.cc b/services/ui/public/cpp/gles2_context.cc
|
| index 93f3dd6e5492fbe9d6b522ad94935b5488151589..473483b3020779c640c0934b7d8df5a3766d255a 100644
|
| --- a/services/ui/public/cpp/gles2_context.cc
|
| +++ b/services/ui/public/cpp/gles2_context.cc
|
| @@ -29,7 +29,6 @@ bool GLES2Context::Initialize(
|
| scoped_refptr<gpu::GpuChannelHost> gpu_channel_host,
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
|
| DCHECK(gpu_channel_host);
|
| - gpu::SurfaceHandle surface_handle = gfx::kNullAcceleratedWidget;
|
| // TODO(penghuang): support shared group.
|
| gpu::CommandBufferProxyImpl* shared_command_buffer = nullptr;
|
| gpu::GpuStreamId stream_id = gpu::GpuStreamId::GPU_STREAM_DEFAULT;
|
| @@ -38,9 +37,9 @@ bool GLES2Context::Initialize(
|
| // TODO(penghuang): figure a useful active_url.
|
| GURL active_url;
|
| command_buffer_proxy_impl_ = gpu::CommandBufferProxyImpl::Create(
|
| - std::move(gpu_channel_host), surface_handle, shared_command_buffer,
|
| - stream_id, stream_priority, attributes, active_url,
|
| - std::move(task_runner));
|
| + std::move(gpu_channel_host), gpu::kNullSurfaceHandle,
|
| + shared_command_buffer, stream_id, stream_priority, attributes,
|
| + active_url, std::move(task_runner));
|
| if (!command_buffer_proxy_impl_)
|
| return false;
|
| gpu::CommandBuffer* command_buffer = command_buffer_proxy_impl_.get();
|
|
|