summaryrefslogtreecommitdiffstats
path: root/content/child
diff options
context:
space:
mode:
authorjanx@chromium.org <janx@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 15:33:12 +0000
committerjanx@chromium.org <janx@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-13 15:33:12 +0000
commit897d858c624f87285cbcc0847787212b5eea6860 (patch)
tree581568041dbe3af21b638342d31bdad896908f75 /content/child
parente7a55d43409394da9edd525ad234257a572e89a4 (diff)
downloadchromium_src-897d858c624f87285cbcc0847787212b5eea6860.zip
chromium_src-897d858c624f87285cbcc0847787212b5eea6860.tar.gz
chromium_src-897d858c624f87285cbcc0847787212b5eea6860.tar.bz2
Android: Graduate Web Speech Recognition as no longer experimental.
The Web Speech API's Speech Recognition is no longer an experimental web platform feature, therefore it is freed from behind the corresponding flag, and will be exposed to the web on compatible Android devices. BUG=222352 Review URL: https://chromiumcodereview.appspot.com/23533050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child')
-rw-r--r--content/child/runtime_features.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 1d1f9af..9d120b9 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -83,11 +83,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enablePeerConnection(false);
}
- if (!command_line.HasSwitch(switches::kEnableSpeechRecognition) ||
- !command_line.HasSwitch(
- switches::kEnableExperimentalWebPlatformFeatures)) {
+ if (!command_line.HasSwitch(switches::kEnableSpeechRecognition))
WebRuntimeFeatures::enableScriptedSpeech(false);
- }
#endif
if (command_line.HasSwitch(switches::kDisableWebAudio))