| 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 b00e87efbe3275d25de1b787730f7f61f66a34e2..44aa021f4af8785fc3a59f61bc89417244c279ea 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -233,8 +233,8 @@ void Internals::resetToConsistentState(Page* page)
|
| page->setPageScaleFactor(1);
|
| page->deprecatedLocalMainFrame()->view()->layoutViewportScrollableArea()->setScrollPosition(IntPoint(0, 0), ProgrammaticScroll);
|
| overrideUserPreferredLanguages(Vector<AtomicString>());
|
| - if (!page->deprecatedLocalMainFrame()->spellChecker().isContinuousSpellCheckingEnabled())
|
| - page->deprecatedLocalMainFrame()->spellChecker().toggleContinuousSpellChecking();
|
| + if (!page->deprecatedLocalMainFrame()->spellChecker().isSpellCheckingEnabled())
|
| + page->deprecatedLocalMainFrame()->spellChecker().toggleSpellCheckingEnabled();
|
| if (page->deprecatedLocalMainFrame()->editor().isOverwriteModeEnabled())
|
| page->deprecatedLocalMainFrame()->editor().toggleOverwriteModeEnabled();
|
|
|
| @@ -1548,13 +1548,13 @@ bool Internals::hasSpellingMarker(Document* document, int from, int length)
|
| return document->frame()->spellChecker().selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length);
|
| }
|
|
|
| -void Internals::setContinuousSpellCheckingEnabled(bool enabled)
|
| +void Internals::setSpellCheckingEnabled(bool enabled)
|
| {
|
| if (!contextDocument() || !contextDocument()->frame())
|
| return;
|
|
|
| - if (enabled != contextDocument()->frame()->spellChecker().isContinuousSpellCheckingEnabled())
|
| - contextDocument()->frame()->spellChecker().toggleContinuousSpellChecking();
|
| + if (enabled != contextDocument()->frame()->spellChecker().isSpellCheckingEnabled())
|
| + contextDocument()->frame()->spellChecker().toggleSpellCheckingEnabled();
|
| }
|
|
|
| bool Internals::canHyphenate(const AtomicString& locale)
|
|
|