| Index: android_webview/browser/test/fake_window.cc
|
| diff --git a/android_webview/browser/test/fake_window.cc b/android_webview/browser/test/fake_window.cc
|
| index 411ee217352a1235a529a24663e0104da913147c..cd47a3c93e4beef8ec747100e7afcf5b04688a0c 100644
|
| --- a/android_webview/browser/test/fake_window.cc
|
| +++ b/android_webview/browser/test/fake_window.cc
|
| @@ -189,8 +189,8 @@
|
| surface_ = gl::init::CreateOffscreenGLSurface(surface_size_);
|
| DCHECK(surface_);
|
| DCHECK(surface_->GetHandle());
|
| - context_ = gl::init::CreateGLContext(nullptr, surface_.get(),
|
| - gl::GLContextAttribs());
|
| + context_ =
|
| + gl::init::CreateGLContext(nullptr, surface_.get(), gl::PreferDiscreteGpu);
|
| DCHECK(context_);
|
| sync->Signal();
|
| }
|
|
|