Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 956aacac7360a5bba9e66cbfd9d9707ef99aeb74..2c0e22fb0f3a42e1c18cf7bcdbfe0433285c9ca9 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -199,6 +199,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (command_line.HasSwitch(switches::kEnableWebVR)) |
WebRuntimeFeatures::enableWebVR(true); |
+ if (command_line.HasSwitch(switches::kDisableWebVrGesturesForTests)) |
+ WebRuntimeFeatures::disableWebVrGestures(true); |
+ |
if (command_line.HasSwitch(switches::kDisablePresentationAPI)) |
WebRuntimeFeatures::enablePresentationAPI(false); |