Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1237)

Unified Diff: third_party/WebKit/Source/core/editing/commands/InsertListCommand.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698