Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index dab97bddc7f7951651a762494a9dc603488fedfe..74da4a73983ade23ae77564ad5d0a9b54df67671 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -201,6 +201,11 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kEnableUnsafeES3APIs)) |
WebRuntimeFeatures::enableUnsafeES3APIs(true); |
+ if (command_line.HasSwitch(switches::kEnableWebVR)) { |
+ WebRuntimeFeatures::enableVRDevice(true); |
+ WebRuntimeFeatures::enableFeatureFromString("GeometryInterfaces", true); |
+ } |
+ |
// Enable explicitly enabled features, and then disable explicitly disabled |
// ones. |
if (command_line.HasSwitch(switches::kEnableBlinkFeatures)) { |