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

Unified Diff: content/child/runtime_features.cc

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: remove runtime flag unsafeES3APIs from blink webgl module Created 4 years, 2 months 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/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 15e6f8e8b7807d322a1e4404332430fd6eb664aa..2ccde0d0678578dcb68fb776034d89bb5e5ffc4e 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -190,8 +190,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
else
WebRuntimeFeatures::enableV8IdleTasks(true);
- if (command_line.HasSwitch(switches::kEnableUnsafeES3APIs))
- WebRuntimeFeatures::enableUnsafeES3APIs(true);
+ // if (command_line.HasSwitch(switches::kEnableUnsafeES3APIs))
+ // WebRuntimeFeatures::enableUnsafeES3APIs(true);
if (command_line.HasSwitch(switches::kEnableWebVR))
WebRuntimeFeatures::enableWebVR(true);

Powered by Google App Engine
This is Rietveld 408576698