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

Unified Diff: third_party/WebKit/Source/core/dom/NodeIteratorBase.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/NodeIteratorBase.h
diff --git a/third_party/WebKit/Source/core/dom/NodeIteratorBase.h b/third_party/WebKit/Source/core/dom/NodeIteratorBase.h
index fdd82ec28c36d8d6d3276cababfdd402a45ff7d8..c5915d0be5d3dee266a81036073e9c1e4b4c83e7 100644
--- a/third_party/WebKit/Source/core/dom/NodeIteratorBase.h
+++ b/third_party/WebKit/Source/core/dom/NodeIteratorBase.h
@@ -34,8 +34,7 @@ class ExceptionState;
class Node;
class NodeFilter;
-class NodeIteratorBase : public WillBeGarbageCollectedMixin {
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NodeIteratorBase);
+class NodeIteratorBase : public GarbageCollectedMixin {
public:
Node* root() const { return m_root.get(); }
unsigned whatToShow() const { return m_whatToShow; }
@@ -44,13 +43,13 @@ public:
DECLARE_VIRTUAL_TRACE();
protected:
- NodeIteratorBase(PassRefPtrWillBeRawPtr<Node>, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter>);
+ NodeIteratorBase(RawPtr<Node>, unsigned whatToShow, RawPtr<NodeFilter>);
unsigned acceptNode(Node*, ExceptionState&) const;
private:
- RefPtrWillBeMember<Node> m_root;
+ Member<Node> m_root;
unsigned m_whatToShow;
- RefPtrWillBeMember<NodeFilter> m_filter;
+ Member<NodeFilter> m_filter;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeIterator.idl ('k') | third_party/WebKit/Source/core/dom/NodeIteratorBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698