Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 12be5bd42c13f9b23440052ea12a5f47b942d56c..5213529cceb0a5c6332a40d10c1b164db97a6916 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -116,6 +116,9 @@ |
WebRuntimeFeatures::enablePeerConnection(false); |
} |
+ if (!command_line.HasSwitch(switches::kEnableSpeechRecognition)) |
+ WebRuntimeFeatures::enableScriptedSpeech(false); |
+ |
// WebAudio is enabled by default on ARM and X86, if the MediaCodec |
// API is available. |
WebRuntimeFeatures::enableWebAudio( |