Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: content/child/runtime_features.cc

Issue 834233002: Removing --enable-speech-recognition flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 01cf2b38ea38460a3fd87376cb3209ae2083dbd6..dd1e5c38b8863f4bdb0d3020c0f326903666dd17 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -111,9 +111,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kDisableWebRTC))
WebRuntimeFeatures::enablePeerConnection(false);
- if (!command_line.HasSwitch(switches::kEnableSpeechRecognition))
- WebRuntimeFeatures::enableScriptedSpeech(false);
-
if (command_line.HasSwitch(switches::kEnableExperimentalWebPlatformFeatures))
WebRuntimeFeatures::enableNotifications(true);

Powered by Google App Engine
This is Rietveld 408576698