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

Unified Diff: Source/core/editing/ReplaceSelectionCommand.h

Issue 54363006: Have ReplaceSelectionCommand::InsertedNodes API take references in argument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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: Source/core/editing/ReplaceSelectionCommand.h
diff --git a/Source/core/editing/ReplaceSelectionCommand.h b/Source/core/editing/ReplaceSelectionCommand.h
index b6eacc700190dd8efbd28142312af49c2133e8c8..7a7602b55cac69066884c754246cbd5aa16f6366 100644
--- a/Source/core/editing/ReplaceSelectionCommand.h
+++ b/Source/core/editing/ReplaceSelectionCommand.h
@@ -60,10 +60,10 @@ private:
class InsertedNodes {
public:
- void respondToNodeInsertion(Node*);
- void willRemoveNodePreservingChildren(Node*);
- void willRemoveNode(Node*);
- void didReplaceNode(Node*, Node* newNode);
+ void respondToNodeInsertion(Node&);
+ void willRemoveNodePreservingChildren(Node&);
+ void willRemoveNode(Node&);
+ void didReplaceNode(Node&, Node& newNode);
Node* firstNodeInserted() const { return m_firstNodeInserted.get(); }
Node* lastLeafInserted() const { return m_lastNodeInserted->lastDescendant(); }
« no previous file with comments | « no previous file | Source/core/editing/ReplaceSelectionCommand.cpp » ('j') | Source/core/editing/ReplaceSelectionCommand.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698