| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index d5bd98b07a07353965548471c359e84d8154dc0d..87a5ecc95f16b9f14048ae4b26a05b71adcd144a 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -106,7 +106,6 @@
|
| #include "core/platform/graphics/filters/FilterOperation.h"
|
| #include "core/platform/graphics/filters/FilterOperations.h"
|
| #include "core/platform/graphics/gpu/SharedGraphicsContext3D.h"
|
| -#include "core/platform/mock/PlatformSpeechSynthesizerMock.h"
|
| #include "core/rendering/CompositedLayerMapping.h"
|
| #include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderLayerCompositor.h"
|
| @@ -116,8 +115,6 @@
|
| #include "core/rendering/RenderView.h"
|
| #include "core/testing/GCObservation.h"
|
| #include "core/workers/WorkerThread.h"
|
| -#include "modules/speech/DOMWindowSpeechSynthesis.h"
|
| -#include "modules/speech/SpeechSynthesis.h"
|
| #include "platform/Language.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/geometry/IntRect.h"
|
| @@ -720,18 +717,6 @@ void Internals::setFormControlStateOfPreviousHistoryItem(const Vector<String>& s
|
| es.throwUninformativeAndGenericDOMException(InvalidAccessError);
|
| }
|
|
|
| -void Internals::enableMockSpeechSynthesizer()
|
| -{
|
| - Document* document = contextDocument();
|
| - if (!document || !document->domWindow())
|
| - return;
|
| - SpeechSynthesis* synthesis = DOMWindowSpeechSynthesis::speechSynthesis(document->domWindow());
|
| - if (!synthesis)
|
| - return;
|
| -
|
| - synthesis->setPlatformSynthesizer(PlatformSpeechSynthesizerMock::create(synthesis));
|
| -}
|
| -
|
| void Internals::setEnableMockPagePopup(bool enabled, ExceptionState& es)
|
| {
|
| Document* document = contextDocument();
|
|
|