| Index: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
|
| index 45fe406a976dd5e0a7428ccadbb78b9a1616d446..013bdfce7abf6b5a35676aee87507b650e210428 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h
|
| @@ -34,9 +34,9 @@ namespace blink {
|
| class IndentOutdentCommand final : public ApplyBlockElementCommand {
|
| public:
|
| enum EIndentType { Indent, Outdent };
|
| - static PassRefPtrWillBeRawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
|
| + static RawPtr<IndentOutdentCommand> create(Document& document, EIndentType type)
|
| {
|
| - return adoptRefWillBeNoop(new IndentOutdentCommand(document, type));
|
| + return new IndentOutdentCommand(document, type);
|
| }
|
|
|
| bool preservesTypingStyle() const override { return true; }
|
| @@ -49,10 +49,10 @@ private:
|
| void outdentRegion(const VisiblePosition&, const VisiblePosition&, EditingState*);
|
| void outdentParagraph(EditingState*);
|
| bool tryIndentingAsListItem(const Position&, const Position&, EditingState*);
|
| - void indentIntoBlockquote(const Position&, const Position&, RefPtrWillBeRawPtr<HTMLElement>&, EditingState*);
|
| + void indentIntoBlockquote(const Position&, const Position&, RawPtr<HTMLElement>&, EditingState*);
|
|
|
| void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection, EditingState*) override;
|
| - void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>& blockquoteForNextIndent, EditingState*) override;
|
| + void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RawPtr<HTMLElement>& blockquoteForNextIndent, EditingState*) override;
|
|
|
| EIndentType m_typeOfAction;
|
| };
|
|
|