Chromium Code Reviews| Index: ui/gl/gl_context_wgl.cc |
| diff --git a/ui/gl/gl_context_wgl.cc b/ui/gl/gl_context_wgl.cc |
| index 6362856f04b4329ec025a8be9b9787601b82b3ec..a03a42441ebe6b987216e6b8206473b4a728ced0 100644 |
| --- a/ui/gl/gl_context_wgl.cc |
| +++ b/ui/gl/gl_context_wgl.cc |
| @@ -32,7 +32,7 @@ bool GLContextWGL::Initialize( |
| "WGL_ARB_create_context") != nullptr; |
| bool create_core_profile = has_wgl_create_context_arb && |
| base::CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kEnableUnsafeES3APIs); |
| + switches::kEnableES3APIs); |
|
piman
2016/11/03 21:58:29
Should this be !base::CommandLine::ForCurrentProce
Kai Ninomiya
2016/11/03 22:10:06
Good catch, thanks!
|
| if (create_core_profile) { |
| std::pair<int, int> attempt_versions[] = { |