Index: gpu/gles2_conform_support/egl/context.cc |
diff --git a/gpu/gles2_conform_support/egl/context.cc b/gpu/gles2_conform_support/egl/context.cc |
index 2d870e7dc2dca6c0317e68995195ee306d4083e0..001e4979d87d3b206098a190d0184d2fefeaae8a 100644 |
--- a/gpu/gles2_conform_support/egl/context.cc |
+++ b/gpu/gles2_conform_support/egl/context.cc |
@@ -273,10 +273,8 @@ |
decoder->set_engine(command_executor.get()); |
- gl::GLContextAttribs context_attribs; |
- context_attribs.gpu_preference = gl::PreferDiscreteGpu; |
scoped_refptr<gl::GLContext> gl_context( |
- gl::init::CreateGLContext(nullptr, gl_surface, context_attribs)); |
+ gl::init::CreateGLContext(nullptr, gl_surface, gl::PreferDiscreteGpu)); |
if (!gl_context) |
return false; |