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

Unified Diff: content/child/runtime_features.cc

Issue 2029843002: Stopped WebVR from being partially enabled during testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 5a9eb19596508f67e485c4e4a355de1dd707d3be..4ad1e3dcaaedb8038f441262e6d6a8e2a515bae7 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -168,11 +168,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kEnableUnsafeES3APIs))
WebRuntimeFeatures::enableUnsafeES3APIs(true);
- if (command_line.HasSwitch(switches::kEnableWebVR)) {
+ if (command_line.HasSwitch(switches::kEnableWebVR))
WebRuntimeFeatures::enableWebVR(true);
- WebRuntimeFeatures::enableFeatureFromString(
- std::string("GeometryInterfaces"), true);
- }
if (command_line.HasSwitch(switches::kDisablePresentationAPI))
WebRuntimeFeatures::enablePresentationAPI(false);

Powered by Google App Engine
This is Rietveld 408576698