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

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

Issue 2474253002: Rename GpuPreferences::enable_unsafe_es3_apis to enable_es3_apis (Closed)
Patch Set: rebase 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 | « no previous file | content/common/gpu_host_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index d3dc595868f256808d88416ed3542d2384f092a8..2ebba27be59ac3d858b9549732c2f164a78c254e 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -770,14 +770,13 @@ void GpuDataManagerImplPrivate::AppendGpuCommandLine(
}
#endif
- if (gpu_preferences) { // enable_unsafe_es3_apis
+ if (gpu_preferences) { // enable_es3_apis
bool blacklisted = IsFeatureBlacklisted(gpu::GPU_FEATURE_TYPE_WEBGL2);
bool enabled = base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableES3APIs);
bool disabled = base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableES3APIs);
- gpu_preferences->enable_unsafe_es3_apis =
- (enabled || !blacklisted) && !disabled;
+ gpu_preferences->enable_es3_apis = (enabled || !blacklisted) && !disabled;
}
// Pass GPU and driver information to GPU process. We try to avoid full GPU
« no previous file with comments | « no previous file | content/common/gpu_host_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698