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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 2473933002: Enable WebGL 2 by default! (on desktop) (Closed)
Patch Set: undo rename of GpuPreferences::enable_unsafe_es3_apis 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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},
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698