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

Unified Diff: content/child/runtime_features.cc

Issue 2030913002: Revert of 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 4ad1e3dcaaedb8038f441262e6d6a8e2a515bae7..5a9eb19596508f67e485c4e4a355de1dd707d3be 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -168,8 +168,11 @@
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);
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698