| 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..51b140b4907bc007216e60e19ed6a4d3d4e2e2f5 100644
|
| --- a/ui/gl/gl_context_wgl.cc
|
| +++ b/ui/gl/gl_context_wgl.cc
|
| @@ -31,8 +31,8 @@ bool GLContextWGL::Initialize(
|
| strstr(wglGetExtensionsStringARB(device_context),
|
| "WGL_ARB_create_context") != nullptr;
|
| bool create_core_profile = has_wgl_create_context_arb &&
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableUnsafeES3APIs);
|
| + !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableES3GLContext);
|
|
|
| if (create_core_profile) {
|
| std::pair<int, int> attempt_versions[] = {
|
|
|