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