Index: Source/core/editing/ReplaceSelectionCommand.h |
diff --git a/Source/core/editing/ReplaceSelectionCommand.h b/Source/core/editing/ReplaceSelectionCommand.h |
index e08f1ed770032287ea12508d5d653a328597da1a..9c3d99984475a5b5d1d641abb896417ec70432b2 100644 |
--- a/Source/core/editing/ReplaceSelectionCommand.h |
+++ b/Source/core/editing/ReplaceSelectionCommand.h |
@@ -77,10 +77,10 @@ private: |
RefPtrWillBeMember<Node> m_lastNodeInserted; |
}; |
- Node* insertAsListItems(PassRefPtrWillBeRawPtr<HTMLElement> listElement, Node* insertionNode, const Position&, InsertedNodes&); |
+ Node* insertAsListItems(PassRefPtrWillBeRawPtr<HTMLElement> listElement, Element* insertionBlock, const Position&, InsertedNodes&); |
void updateNodesInserted(Node*); |
- bool shouldRemoveEndBR(Node*, const VisiblePosition&); |
+ bool shouldRemoveEndBR(HTMLBRElement*, const VisiblePosition&); |
bool shouldMergeStart(bool, bool, bool); |
bool shouldMergeEnd(bool selectionEndWasEndOfParagraph); |
@@ -92,7 +92,7 @@ private: |
void removeRedundantStylesAndKeepStyleSpanInline(InsertedNodes&); |
void makeInsertedContentRoundTrippableWithHTMLTreeBuilder(const InsertedNodes&); |
- void moveNodeOutOfAncestor(PassRefPtrWillBeRawPtr<Node>, PassRefPtrWillBeRawPtr<ContainerNode> ancestor); |
+ void moveElementOutOfAncestor(PassRefPtrWillBeRawPtr<Element>, PassRefPtrWillBeRawPtr<ContainerNode> ancestor); |
void handleStyleSpans(InsertedNodes&); |
VisiblePosition positionAtStartOfInsertedContent() const; |