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

Unified Diff: content/browser/gpu/compositor_util.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: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 4239ab7dc2cd957239fb5fedd6b215bb6b8d4a8f..eef25d7657668fc58daf0b5f32d5bd6f840fc830 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -156,7 +156,7 @@ const GpuFeatureInfo GetGpuFeatureInfo(size_t index, bool* eof) {
true},
{kWebGL2FeatureName,
manager->IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL2),
- !command_line.HasSwitch(switches::kEnableUnsafeES3APIs) ||
+ !command_line.HasSwitch(switches::kEnableES3APIs) ||
command_line.HasSwitch(switches::kDisableES3APIs),
"WebGL2 has been disabled via blacklist or the command line.",
false},

Powered by Google App Engine
This is Rietveld 408576698