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

Unified Diff: Source/core/platform/PlatformSpeechSynthesisVoice.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/PlatformSpeechSynthesisVoice.cpp
diff --git a/Source/core/platform/PlatformSpeechSynthesisVoice.cpp b/Source/core/platform/PlatformSpeechSynthesisVoice.cpp
index 95553f9a685d24bc38a697048304b6684f8db304..432de7bc5e181fc6879518273e6520b53a24db2b 100644
--- a/Source/core/platform/PlatformSpeechSynthesisVoice.cpp
+++ b/Source/core/platform/PlatformSpeechSynthesisVoice.cpp
@@ -26,8 +26,6 @@
#include "config.h"
#include "core/platform/PlatformSpeechSynthesisVoice.h"
-#if ENABLE(SPEECH_SYNTHESIS)
-
namespace WebCore {
PassRefPtr<PlatformSpeechSynthesisVoice> PlatformSpeechSynthesisVoice::create(const String& voiceURI, const String& name, const String& lang, bool localService, bool isDefault)
@@ -56,5 +54,3 @@ PlatformSpeechSynthesisVoice::PlatformSpeechSynthesisVoice()
}
} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)
« no previous file with comments | « Source/core/platform/PlatformSpeechSynthesisVoice.h ('k') | Source/core/platform/PlatformSpeechSynthesizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698