| Index: components/mus/surfaces/surfaces_context_provider.cc
|
| diff --git a/components/mus/surfaces/surfaces_context_provider.cc b/components/mus/surfaces/surfaces_context_provider.cc
|
| index 291a4402eb51732e2c38cdd1f00040abff0daf63..cd2928889268098ce7a10f3183e3b48266d4550b 100644
|
| --- a/components/mus/surfaces/surfaces_context_provider.cc
|
| +++ b/components/mus/surfaces/surfaces_context_provider.cc
|
| @@ -59,12 +59,14 @@
|
| attributes.sample_buffers = 0;
|
| attributes.bind_generates_resource = false;
|
| attributes.lose_context_when_out_of_memory = true;
|
| + gl::GpuPreference gpu_preference = gl::PreferIntegratedGpu;
|
| GURL active_url;
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner =
|
| base::ThreadTaskRunnerHandle::Get();
|
| command_buffer_proxy_impl_ = gpu::CommandBufferProxyImpl::Create(
|
| - service->gpu_channel_local(), widget, shared_command_buffer, stream_id,
|
| - stream_priority, attributes, active_url, task_runner);
|
| + service->gpu_channel_local(), widget, gfx::Size(),
|
| + shared_command_buffer, stream_id, stream_priority, attributes,
|
| + active_url, gpu_preference, task_runner);
|
| command_buffer_proxy_impl_->SetSwapBuffersCompletionCallback(
|
| base::Bind(&SurfacesContextProvider::OnGpuSwapBuffersCompleted,
|
| base::Unretained(this)));
|
|
|