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

Unified Diff: Source/core/platform/chromium/PlatformSpeechSynthesizerChromium.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/core/platform/chromium/PlatformSpeechSynthesizerChromium.cpp
diff --git a/Source/core/platform/chromium/PlatformSpeechSynthesizerChromium.cpp b/Source/core/platform/chromium/PlatformSpeechSynthesizerChromium.cpp
index c3850211c7e628e371393fcbf6d4976c9de0dd63..71666282598d02088226ef90a96921ce0f87ae8c 100644
--- a/Source/core/platform/chromium/PlatformSpeechSynthesizerChromium.cpp
+++ b/Source/core/platform/chromium/PlatformSpeechSynthesizerChromium.cpp
@@ -40,8 +40,6 @@
#include <public/WebSpeechSynthesizerClient.h>
#include <wtf/RetainPtr.h>
-#if ENABLE(SPEECH_SYNTHESIS)
-
namespace WebCore {
PlatformSpeechSynthesizer::PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient* client)
@@ -88,5 +86,3 @@ void PlatformSpeechSynthesizer::cancel()
}
} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)

Powered by Google App Engine
This is Rietveld 408576698