Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
index 112a6460002778a9e03b04878ecc6253e14c2cb9..66c4bf637676369e6edc72baad721522010bd2d7 100644 |
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp |
@@ -308,11 +308,16 @@ void SpellChecker::showSpellingGuessPanel() |
spellCheckerClient().showSpellingUI(true); |
} |
-void SpellChecker::clearMisspellingsAndBadGrammar(const VisibleSelection &movingSelection) |
+void SpellChecker::clearMisspellingsAndBadGrammarForMovingParagraphs(const VisibleSelection& movingSelection) |
{ |
removeMarkers(movingSelection, DocumentMarker::MisspellingMarkers()); |
} |
+void SpellChecker::markMisspellingsAndBadGrammarForMovingParagraphs(const VisibleSelection& movingSelection) |
+{ |
+ markMisspellingsAndBadGrammar(movingSelection); |
+} |
+ |
void SpellChecker::markMisspellingsAndBadGrammar(const VisibleSelection& selection) |
{ |
if (!isSpellCheckingEnabled() || !isSpellCheckingEnabledFor(selection)) |