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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.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, 9 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/EditingUtilities.h
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.h b/third_party/WebKit/Source/core/editing/EditingUtilities.h
index 7186011a1032502177b9815f0d6b7e1b5cca95df..af783a79b7973d8cd3f333689a31688bd30d2642 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.h
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.h
@@ -260,7 +260,7 @@ bool lineBreakExistsAtVisiblePosition(const VisiblePosition&);
int comparePositions(const VisiblePosition&, const VisiblePosition&);
-int indexForVisiblePosition(const VisiblePosition&, RefPtrWillBeRawPtr<ContainerNode>& scope);
+int indexForVisiblePosition(const VisiblePosition&, RawPtr<ContainerNode>& scope);
EphemeralRange makeRange(const VisiblePosition&, const VisiblePosition&);
EphemeralRange normalizeRange(const EphemeralRange&);
EphemeralRangeInFlatTree normalizeRange(const EphemeralRangeInFlatTree&);
@@ -272,8 +272,8 @@ VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
// Functions returning HTMLElement
-PassRefPtrWillBeRawPtr<HTMLElement> createDefaultParagraphElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLElement> createHTMLElement(Document&, const QualifiedName&);
+RawPtr<HTMLElement> createDefaultParagraphElement(Document&);
+RawPtr<HTMLElement> createHTMLElement(Document&, const QualifiedName&);
HTMLElement* enclosingList(Node*);
HTMLElement* outermostEnclosingList(Node*, HTMLElement* rootList = nullptr);
@@ -285,8 +285,8 @@ Node* enclosingListChild(Node*);
// Functions returning Element
-PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&);
-PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, const String& tabText);
+RawPtr<HTMLSpanElement> createTabSpanElement(Document&);
+RawPtr<HTMLSpanElement> createTabSpanElement(Document&, const String& tabText);
Element* rootEditableElementOf(const Position&, EditableType = ContentIsEditable);
Element* rootEditableElementOf(const PositionInFlatTree&, EditableType = ContentIsEditable);

Powered by Google App Engine
This is Rietveld 408576698