Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp

Issue 2781213002: Remove useless SpellChecker::clearMisspellingsForMovingParagraphs() (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27ae01b469ee1bcd7552b7758d107ab3ae2a253d..e26740a836c32da813eb5152f1c4237bccd5ca4b 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
@@ -318,13 +318,6 @@ void SpellChecker::showSpellingGuessPanel() {
spellCheckerClient().showSpellingUI(true);
}
-void SpellChecker::clearMisspellingsForMovingParagraphs(
- const SelectionInDOMTree& movingSelection) {
- removeMarkers(
- createVisibleSelection(movingSelection).toNormalizedEphemeralRange(),
- DocumentMarker::MisspellingMarkers());
-}
-
void SpellChecker::markMisspellingsForMovingParagraphs(
const VisibleSelection& movingSelection) {
if (RuntimeEnabledFeatures::idleTimeSpellCheckingEnabled())
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698