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

Unified Diff: ui/gl/gl_context_wgl.cc

Issue 2473933002: Enable WebGL 2 by default! (on desktop) (Closed)
Patch Set: fix Created 4 years, 1 month 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
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[] = {

Powered by Google App Engine
This is Rietveld 408576698