Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: ui/gl/gl_surface_win.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/gpu_switching_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698