| Index: ui/compositor/test/in_process_context_provider.cc
|
| diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc
|
| index 1e6bc30150e09a43d7ea0d77b66676319def858d..d2ccd5882ceb749c78bf851b0c8d4ad2ebf876c2 100644
|
| --- a/ui/compositor/test/in_process_context_provider.cc
|
| +++ b/ui/compositor/test/in_process_context_provider.cc
|
| @@ -83,12 +83,14 @@
|
| DCHECK(context_thread_checker_.CalledOnValidThread());
|
|
|
| if (!context_) {
|
| + gl::GpuPreference gpu_preference = gl::PreferDiscreteGpu;
|
| context_.reset(gpu::GLInProcessContext::Create(
|
| nullptr, /* service */
|
| nullptr, /* surface */
|
| !window_, /* is_offscreen */
|
| - window_, (shared_context_ ? shared_context_->context_.get() : nullptr),
|
| - attribs_, gpu::SharedMemoryLimits(), gpu_memory_buffer_manager_,
|
| + window_, gfx::Size(1, 1),
|
| + (shared_context_ ? shared_context_->context_.get() : nullptr), attribs_,
|
| + gpu_preference, gpu::SharedMemoryLimits(), gpu_memory_buffer_manager_,
|
| image_factory_));
|
|
|
| if (!context_)
|
|
|