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

Unified Diff: third_party/WebKit/Source/core/editing/Position.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/Position.h
diff --git a/third_party/WebKit/Source/core/editing/Position.h b/third_party/WebKit/Source/core/editing/Position.h
index 9c01ae00154a62898370a1cf393692f412d60e5d..90581180ae6e91b2885355d5fd742ed8d5cbce5a 100644
--- a/third_party/WebKit/Source/core/editing/Position.h
+++ b/third_party/WebKit/Source/core/editing/Position.h
@@ -66,14 +66,14 @@ public:
}
static const TreeScope* commonAncestorTreeScope(const PositionTemplate<Strategy>&, const PositionTemplate<Strategy>& b);
- static PositionTemplate<Strategy> editingPositionOf(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset);
+ static PositionTemplate<Strategy> editingPositionOf(RawPtr<Node> anchorNode, int offset);
// For creating before/after positions:
- PositionTemplate(PassRefPtrWillBeRawPtr<Node> anchorNode, PositionAnchorType);
+ PositionTemplate(RawPtr<Node> anchorNode, PositionAnchorType);
// For creating offset positions:
// FIXME: This constructor should eventually go away. See bug 63040.
- PositionTemplate(PassRefPtrWillBeRawPtr<Node> anchorNode, int offset);
+ PositionTemplate(RawPtr<Node> anchorNode, int offset);
PositionTemplate(const PositionTemplate&);
@@ -186,7 +186,7 @@ private:
return isAfterAnchor() || isAfterChildren();
}
- RefPtrWillBeMember<Node> m_anchorNode;
+ Member<Node> m_anchorNode;
// m_offset can be the offset inside m_anchorNode, or if editingIgnoresContent(m_anchorNode)
// returns true, then other places in editing will treat m_offset == 0 as "before the anchor"
// and m_offset > 0 as "after the anchor node". See parentAnchoredEquivalent for more info.
« no previous file with comments | « third_party/WebKit/Source/core/editing/PendingSelection.h ('k') | third_party/WebKit/Source/core/editing/Position.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698