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