Index: ui/gl/gl_surface_win.cc |
diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc |
index 8d55009a0efc0662c4d4c43d2254fa307c1b2f2e..d919ed15dbb07d9fbc1e431cdce7c0e7d7d37a67 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 |