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

Unified Diff: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h

Issue 1695153002: Editing: Make the |EditingState*| argument of CompositeEditCommand::removeNode mandatory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ; Created 4 years, 10 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
Index: third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
index 6e8ea714194d90ac9c68d7f5778e5a05b270cf00..af4e2c70b1470a34b49ffb0a7db2b2a717f0276b 100644
--- a/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h
@@ -59,15 +59,15 @@ private:
void setStartingSelectionOnSmartDelete(const Position&, const Position&);
void initializePositionData();
void saveTypingStyleState();
- bool handleSpecialCaseBRDelete();
+ bool handleSpecialCaseBRDelete(EditingState*);
void handleGeneralDelete(EditingState*);
void fixupWhitespace();
- void mergeParagraphs();
- void removePreviouslySelectedEmptyTableRows();
+ void mergeParagraphs(EditingState*);
+ void removePreviouslySelectedEmptyTableRows(EditingState*);
void calculateTypingStyleAfterDelete();
void clearTransientState();
- void makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss();
- void removeNode(PassRefPtrWillBeRawPtr<Node>, EditingState* = ASSERT_NO_EDITING_ABORT, ShouldAssumeContentIsAlwaysEditable = DoNotAssumeContentIsAlwaysEditable) override;
+ void makeStylingElementsDirectChildrenOfEditableRootToPreventStyleLoss(EditingState*);
+ void removeNode(PassRefPtrWillBeRawPtr<Node>, EditingState*, ShouldAssumeContentIsAlwaysEditable = DoNotAssumeContentIsAlwaysEditable) override;
void deleteTextFromNode(PassRefPtrWillBeRawPtr<Text>, unsigned, unsigned) override;
void removeRedundantBlocks(EditingState*);

Powered by Google App Engine
This is Rietveld 408576698