| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| index 5341a68f359e2d9b743b5df8fe68639115cbac02..36aece904e85c86fc5f572e3d00d49348827cbbc 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.h
|
| @@ -37,9 +37,9 @@ class InsertListCommand final : public CompositeEditCommand {
|
| public:
|
| enum Type { OrderedList, UnorderedList };
|
|
|
| - static PassRefPtrWillBeRawPtr<InsertListCommand> create(Document& document, Type listType)
|
| + static RawPtr<InsertListCommand> create(Document& document, Type listType)
|
| {
|
| - return adoptRefWillBeNoop(new InsertListCommand(document, listType));
|
| + return (new InsertListCommand(document, listType));
|
| }
|
|
|
| bool preservesTypingStyle() const override { return true; }
|
| @@ -54,11 +54,11 @@ private:
|
|
|
| HTMLUListElement* fixOrphanedListChild(Node*);
|
| bool selectionHasListOfType(const VisibleSelection&, const HTMLQualifiedName&);
|
| - PassRefPtrWillBeRawPtr<HTMLElement> mergeWithNeighboringLists(PassRefPtrWillBeRawPtr<HTMLElement>);
|
| + RawPtr<HTMLElement> mergeWithNeighboringLists(RawPtr<HTMLElement>);
|
| bool doApplyForSingleParagraph(bool forceCreateList, const HTMLQualifiedName&, Range& currentSelection);
|
| void unlistifyParagraph(const VisiblePosition& originalStart, HTMLElement* listNode, Node* listChildNode);
|
| void listifyParagraph(const VisiblePosition& originalStart, const HTMLQualifiedName& listTag);
|
| - void moveParagraphOverPositionIntoEmptyListItem(const VisiblePosition&, PassRefPtrWillBeRawPtr<HTMLLIElement>);
|
| + void moveParagraphOverPositionIntoEmptyListItem(const VisiblePosition&, RawPtr<HTMLLIElement>);
|
|
|
| Type m_type;
|
| };
|
|
|