| Index: content/child/runtime_features.cc
|
| diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
|
| index 069d5ae21bd1f684fa4727a799e01cea07b4a472..4dd00b6f02ae355d601b642f0275f9f34ac51fe0 100644
|
| --- a/content/child/runtime_features.cc
|
| +++ b/content/child/runtime_features.cc
|
| @@ -69,8 +69,11 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
|
| WebRuntimeFeatures::enablePeerConnection(false);
|
| }
|
|
|
| - if (!command_line.HasSwitch(switches::kEnableSpeechRecognition))
|
| + if (!command_line.HasSwitch(switches::kEnableSpeechRecognition) ||
|
| + !command_line.HasSwitch(
|
| + switches::kEnableExperimentalWebPlatformFeatures)) {
|
| WebRuntimeFeatures::enableScriptedSpeech(false);
|
| + }
|
| #endif
|
|
|
| if (command_line.HasSwitch(switches::kDisableWebAudio))
|
|
|