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 33b5df0e89dd0152b0f46cfba0eb594ae0df6aa9..b8d2e2d70f5ac25e1cae2f0d000bd2fd2352ac3e 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -1557,6 +1557,11 @@ void Internals::setContinuousSpellCheckingEnabled(bool enabled) |
contextDocument()->frame()->spellChecker().toggleContinuousSpellChecking(); |
} |
+bool Internals::canHyphenate(const AtomicString& locale) |
+{ |
+ return Hyphenation::get(locale); |
+} |
+ |
void Internals::setMockHyphenation(const AtomicString& locale) |
{ |
Hyphenation::setForTesting(locale, adoptRef(new MockHyphenation)); |