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

Unified Diff: content/child/runtime_features.cc

Issue 598923002: Removed the ScriptedSpeech content side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added changes for removal of kEnableSpeechRecognition Created 6 years, 3 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 5213529cceb0a5c6332a40d10c1b164db97a6916..12be5bd42c13f9b23440052ea12a5f47b942d56c 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -116,9 +116,6 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
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(

Powered by Google App Engine
This is Rietveld 408576698