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

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.cpp

Issue 14466008: Switch speech synthesis from compile-flag to runtime-flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase, switch to RuntimeEnabledFeatures.in Created 7 years, 8 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: Source/modules/speech/SpeechSynthesisUtterance.cpp
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.cpp b/Source/modules/speech/SpeechSynthesisUtterance.cpp
index 164be2293a50b03d8ca4bc3024cde9b126d1361b..ca26f3a66253b5ca390bb2e62270221afad8fa48 100644
--- a/Source/modules/speech/SpeechSynthesisUtterance.cpp
+++ b/Source/modules/speech/SpeechSynthesisUtterance.cpp
@@ -26,8 +26,6 @@
#include "config.h"
#include "modules/speech/SpeechSynthesisUtterance.h"
-#if ENABLE(SPEECH_SYNTHESIS)
-
namespace WebCore {
PassRefPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ScriptExecutionContext* context, const String& text)
@@ -73,5 +71,3 @@ void SpeechSynthesisUtterance::setVoice(SpeechSynthesisVoice* voice)
}
} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)
« no previous file with comments | « Source/modules/speech/SpeechSynthesisUtterance.h ('k') | Source/modules/speech/SpeechSynthesisUtterance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698