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