Commit 0c25c13b authored by pdr@chromium.org's avatar pdr@chromium.org

Update deleteSelection callsites after r164025

This patch fixes the deleteSelection callsites in CompositeEditCommand
after [1] refactored them to remove the bool 'replace' parameter.

[1] http://src.chromium.org/viewvc/blink?revision=164025&view=revision

BUG=381069

Review URL: https://codereview.chromium.org/321583004

git-svn-id: svn://svn.chromium.org/blink/trunk@175727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 24d70b04
......@@ -1128,7 +1128,7 @@ void CompositeEditCommand::moveParagraphWithClones(const VisiblePosition& startO
cloneParagraphUnderNewElement(start, end, outerNode, blockElement);
setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
deleteSelection(false, false, false, false);
deleteSelection(false, false, false);
// There are bugs in deletion when it removes a fully selected table/list.
// It expands and removes the entire table/list, but will let content
......@@ -1227,7 +1227,7 @@ void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagrap
setEndingSelection(VisibleSelection(start, end, DOWNSTREAM));
document().frame()->spellChecker().clearMisspellingsAndBadGrammar(endingSelection());
deleteSelection(false, false, false, false);
deleteSelection(false, false, false);
ASSERT(destination.deepEquivalent().inDocument());
cleanupAfterDeletion(destination);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment