| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index be9f12d15210d8861813274e286c3558c15cd091..0c7c1f5f1feb2232f9ec4fd1406b7b0a0f83e4bd 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -121,6 +121,7 @@
|
| #include "core/testing/InternalSettings.h"
|
| #include "core/testing/LayerRect.h"
|
| #include "core/testing/LayerRectList.h"
|
| +#include "core/testing/MockHyphenation.h"
|
| #include "core/testing/PrivateScriptTest.h"
|
| #include "core/testing/TypeConversions.h"
|
| #include "core/testing/UnionTypesTest.h"
|
| @@ -1548,6 +1549,11 @@ void Internals::setContinuousSpellCheckingEnabled(bool enabled)
|
| contextDocument()->frame()->spellChecker().toggleContinuousSpellChecking();
|
| }
|
|
|
| +void Internals::setMockHyphenation(const AtomicString& locale)
|
| +{
|
| + Hyphenation::setForTesting(locale, adoptRef(new MockHyphenation));
|
| +}
|
| +
|
| bool Internals::isOverwriteModeEnabled(Document* document)
|
| {
|
| ASSERT(document);
|
|
|