| Index: Source/core/editing/FormatBlockCommand.h
|
| diff --git a/Source/core/editing/FormatBlockCommand.h b/Source/core/editing/FormatBlockCommand.h
|
| index c917832c3f6b459f45827c823dc10fc7b864ac45..da6add691b0f096193ddc85c5c271355407c6cc2 100644
|
| --- a/Source/core/editing/FormatBlockCommand.h
|
| +++ b/Source/core/editing/FormatBlockCommand.h
|
| @@ -40,7 +40,7 @@ class VisiblePosition;
|
|
|
| class FormatBlockCommand : public ApplyBlockElementCommand {
|
| public:
|
| - static PassRefPtr<FormatBlockCommand> create(Document* document, const QualifiedName& tagName)
|
| + static PassRefPtr<FormatBlockCommand> create(Document& document, const QualifiedName& tagName)
|
| {
|
| return adoptRef(new FormatBlockCommand(document, tagName));
|
| }
|
| @@ -51,7 +51,7 @@ public:
|
| bool didApply() const { return m_didApply; }
|
|
|
| private:
|
| - FormatBlockCommand(Document*, const QualifiedName& tagName);
|
| + FormatBlockCommand(Document&, const QualifiedName& tagName);
|
|
|
| void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection);
|
| void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtr<Element>&);
|
|
|