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

Unified Diff: third_party/WebKit/Source/core/dom/NodeTraversal.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/dom/NodeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/NodeTraversal.h b/third_party/WebKit/Source/core/dom/NodeTraversal.h
index 9062ab430104a64f258d5c7ecd56523a4e4bfe5d..99bf817d9564a3b74b1ad6eb9e3039a38ae2f8b9 100644
--- a/third_party/WebKit/Source/core/dom/NodeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/NodeTraversal.h
@@ -124,7 +124,7 @@ public:
Iterator begin() { return Iterator(m_start); }
Iterator end() { return Iterator::end(); }
private:
- RawPtrWillBeMember<const StartNodeType> m_start;
+ Member<const StartNodeType> m_start;
};
template <class TraversalNext>
@@ -137,7 +137,7 @@ public:
protected:
explicit TraversalIteratorBase(NodeType* current) : m_current(current) { }
- RawPtrWillBeMember<NodeType> m_current;
+ Member<NodeType> m_current;
};
template <class TraversalNext>
@@ -175,7 +175,7 @@ public:
static TraversalDescendantIterator end() { return TraversalDescendantIterator(); }
private:
TraversalDescendantIterator() : TraversalIteratorBase<TraversalNext>(nullptr), m_root(nullptr) { }
- RawPtrWillBeMember<const Node> m_root;
+ Member<const Node> m_root;
};
template <class TraversalNext>
@@ -189,7 +189,7 @@ public:
void operator++() { m_current = TraversalNext::next(*m_current, m_root); }
static TraversalInclusiveDescendantIterator end() { return TraversalInclusiveDescendantIterator(nullptr); }
private:
- RawPtrWillBeMember<const StartNodeType> m_root;
+ Member<const StartNodeType> m_root;
};
inline TraversalRange<TraversalChildrenIterator<NodeTraversal>> NodeTraversal::childrenOf(const Node& parent)
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeRareData.cpp ('k') | third_party/WebKit/Source/core/dom/NodeWithIndex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698