Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index ee84fbfc31be8ffef88fe548329f7aeb731d54f6..51e4016f94299e0ec9f5f65df16bc4fe8f99d005 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -127,11 +127,9 @@ |
#include "core/page/CaptionUserPreferences.h" |
#include "core/page/PageGroup.h" |
-#if ENABLE(SPEECH_SYNTHESIS) |
#include "core/platform/mock/PlatformSpeechSynthesizerMock.h" |
#include "modules/speech/DOMWindowSpeechSynthesis.h" |
#include "modules/speech/SpeechSynthesis.h" |
-#endif |
namespace WebCore { |
@@ -795,7 +793,6 @@ void Internals::setFormControlStateOfPreviousHistoryItem(const Vector<String>& s |
ec = INVALID_ACCESS_ERR; |
} |
-#if ENABLE(SPEECH_SYNTHESIS) |
void Internals::enableMockSpeechSynthesizer() |
{ |
Document* document = contextDocument(); |
@@ -807,7 +804,6 @@ void Internals::enableMockSpeechSynthesizer() |
synthesis->setPlatformSynthesizer(PlatformSpeechSynthesizerMock::create(synthesis)); |
} |
-#endif |
void Internals::setEnableMockPagePopup(bool enabled, ExceptionCode& ec) |
{ |