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

Unified Diff: third_party/WebKit/Source/core/dom/RangeBoundaryPoint.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.idl ('k') | third_party/WebKit/Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
diff --git a/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h b/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
index 9b637ecd4a0b6c4cccf8b0e80d7d67de429e5eee..85ad569576a50c8cd43a7182b7ae26d3a942f666 100644
--- a/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
+++ b/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
@@ -35,7 +35,7 @@ namespace blink {
class RangeBoundaryPoint {
DISALLOW_NEW();
public:
- explicit RangeBoundaryPoint(PassRefPtrWillBeRawPtr<Node> container);
+ explicit RangeBoundaryPoint(RawPtr<Node> container);
explicit RangeBoundaryPoint(const RangeBoundaryPoint&);
@@ -48,7 +48,7 @@ public:
void clear();
- void set(PassRefPtrWillBeRawPtr<Node> container, int offset, Node* childBefore);
+ void set(RawPtr<Node> container, int offset, Node* childBefore);
void setOffset(int);
void setToBeforeChild(Node&);
@@ -68,12 +68,12 @@ public:
private:
static const int invalidOffset = -1;
- RefPtrWillBeMember<Node> m_containerNode;
+ Member<Node> m_containerNode;
mutable int m_offsetInContainer;
- RefPtrWillBeMember<Node> m_childBeforeBoundary;
+ Member<Node> m_childBeforeBoundary;
};
-inline RangeBoundaryPoint::RangeBoundaryPoint(PassRefPtrWillBeRawPtr<Node> container)
+inline RangeBoundaryPoint::RangeBoundaryPoint(RawPtr<Node> container)
: m_containerNode(container)
, m_offsetInContainer(0)
, m_childBeforeBoundary(nullptr)
@@ -131,7 +131,7 @@ inline void RangeBoundaryPoint::clear()
m_childBeforeBoundary = nullptr;
}
-inline void RangeBoundaryPoint::set(PassRefPtrWillBeRawPtr<Node> container, int offset, Node* childBefore)
+inline void RangeBoundaryPoint::set(RawPtr<Node> container, int offset, Node* childBefore)
{
ASSERT(container);
ASSERT(offset >= 0);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.idl ('k') | third_party/WebKit/Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698