| Index: ui/gl/gl_surface_win.cc
|
| diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc
|
| index ed2958e864065f5ed03cbe083bb181a2daf41c52..5f0e9a5a49bc881d8f37eecb09d32332830e8576 100644
|
| --- a/ui/gl/gl_surface_win.cc
|
| +++ b/ui/gl/gl_surface_win.cc
|
| @@ -341,11 +341,7 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| }
|
|
|
| EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableD3D11) ||
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseWarp))
|
| - return GetDC(NULL);
|
| - return EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE;
|
| + return GetDC(NULL);
|
| }
|
|
|
| } // namespace gfx
|
|
|