Index: Source/core/editing/ApplyBlockElementCommand.h |
diff --git a/Source/core/editing/ApplyBlockElementCommand.h b/Source/core/editing/ApplyBlockElementCommand.h |
index d8c6fd6c793c4d25fd73034ec7c4a5f7fcba4e9d..531dc1bd76bb58923242b179974e4345798719ce 100644 |
--- a/Source/core/editing/ApplyBlockElementCommand.h |
+++ b/Source/core/editing/ApplyBlockElementCommand.h |
@@ -42,12 +42,14 @@ protected: |
ApplyBlockElementCommand(Document&, const QualifiedName& tagName); |
virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection); |
- PassRefPtr<Element> createBlockElement() const; |
+ PassRefPtrWillBeRawPtr<Element> createBlockElement() const; |
const QualifiedName tagName() const { return m_tagName; } |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
virtual void doApply() OVERRIDE FINAL; |
- virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&) = 0; |
+ virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<Element>&) = 0; |
void rangeForParagraphSplittingTextNodesIfNeeded(const VisiblePosition&, Position&, Position&); |
VisiblePosition endOfNextParagrahSplittingTextNodesIfNeeded(VisiblePosition&, Position&, Position&); |