| Index: ui/gl/gl_surface_win.cc
|
| diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc
|
| index 5cf68afac762b24aa7af01059aa4470bd57e086e..0e10bacc05ee723714c1579ac7161c976d1af406 100644
|
| --- a/ui/gl/gl_surface_win.cc
|
| +++ b/ui/gl/gl_surface_win.cc
|
| @@ -353,8 +353,9 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| }
|
|
|
| EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() {
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableD3D11) ||
|
| - CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseWarp))
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableD3D11) ||
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseWarp))
|
| return GetDC(NULL);
|
| return EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE;
|
| }
|
|
|