| Index: Source/core/editing/IndentOutdentCommand.h
|
| diff --git a/Source/core/editing/IndentOutdentCommand.h b/Source/core/editing/IndentOutdentCommand.h
|
| index 7a49ac53e8897e320ab92a2f512db65c3b522e57..b90d8ec380a18339df086247b1dc7064d2b7691f 100644
|
| --- a/Source/core/editing/IndentOutdentCommand.h
|
| +++ b/Source/core/editing/IndentOutdentCommand.h
|
| @@ -34,7 +34,7 @@ namespace WebCore {
|
| class IndentOutdentCommand : public ApplyBlockElementCommand {
|
| public:
|
| enum EIndentType { Indent, Outdent };
|
| - static PassRefPtr<IndentOutdentCommand> create(Document* document, EIndentType type, int marginInPixels = 0)
|
| + static PassRefPtr<IndentOutdentCommand> create(Document& document, EIndentType type, int marginInPixels = 0)
|
| {
|
| return adoptRef(new IndentOutdentCommand(document, type, marginInPixels));
|
| }
|
| @@ -42,7 +42,7 @@ public:
|
| virtual bool preservesTypingStyle() const { return true; }
|
|
|
| private:
|
| - IndentOutdentCommand(Document*, EIndentType, int marginInPixels);
|
| + IndentOutdentCommand(Document&, EIndentType, int marginInPixels);
|
|
|
| virtual EditAction editingAction() const { return m_typeOfAction == Indent ? EditActionIndent : EditActionOutdent; }
|
|
|
|
|