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

Unified Diff: Source/core/platform/mock/PlatformSpeechSynthesizerMock.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: 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/mock/PlatformSpeechSynthesizerMock.cpp
diff --git a/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp b/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
index 4281f5524ab7f3e12f820caaeb5d00be53d95efd..c02fdd301a21db81deced4e82dc3fbd37d72931d 100644
--- a/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
+++ b/Source/core/platform/mock/PlatformSpeechSynthesizerMock.cpp
@@ -27,8 +27,6 @@
#include "core/platform/PlatformSpeechSynthesisUtterance.h"
#include "core/platform/mock/PlatformSpeechSynthesizerMock.h"
-#if ENABLE(SPEECH_SYNTHESIS)
-
namespace WebCore {
PassOwnPtr<PlatformSpeechSynthesizerMock> PlatformSpeechSynthesizerMock::create(PlatformSpeechSynthesizerClient* client)
@@ -100,5 +98,3 @@ void PlatformSpeechSynthesizerMock::resume()
} // namespace WebCore
-
-#endif // ENABLE(SPEECH_SYNTHESIS)

Powered by Google App Engine
This is Rietveld 408576698