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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.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 | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
index e8cc4e3e39f63adcbc3f843aeea08fd0efd06f88..2ae7fc0068a63eb56034c17aad068ae562c88b3e 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
@@ -1494,8 +1494,6 @@ void CompositeEditCommand::moveParagraphs(
const SelectionInDOMTree& selectionToDelete =
SelectionInDOMTree::Builder().collapse(start).extend(end).build();
setEndingSelection(selectionToDelete);
- document().frame()->spellChecker().clearMisspellingsForMovingParagraphs(
- selectionToDelete);
deleteSelection(editingState, false, false, false);
if (editingState->isAborted())
return;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698