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

Unified Diff: third_party/WebKit/Source/core/dom/TreeWalker.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/TreeShared.h ('k') | third_party/WebKit/Source/core/dom/TreeWalker.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/TreeWalker.h
diff --git a/third_party/WebKit/Source/core/dom/TreeWalker.h b/third_party/WebKit/Source/core/dom/TreeWalker.h
index 8ef7d6d6ef0e8ded473d68cc2865c1f725a0b1c5..a9b4447ead7d4b1a5d424286103747e883ac3730 100644
--- a/third_party/WebKit/Source/core/dom/TreeWalker.h
+++ b/third_party/WebKit/Source/core/dom/TreeWalker.h
@@ -36,17 +36,17 @@ namespace blink {
class ExceptionState;
-class TreeWalker final : public RefCountedWillBeGarbageCollected<TreeWalker>, public ScriptWrappable, public NodeIteratorBase {
+class TreeWalker final : public GarbageCollected<TreeWalker>, public ScriptWrappable, public NodeIteratorBase {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TreeWalker);
+ USING_GARBAGE_COLLECTED_MIXIN(TreeWalker);
public:
- static PassRefPtrWillBeRawPtr<TreeWalker> create(PassRefPtrWillBeRawPtr<Node> rootNode, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter> filter)
+ static RawPtr<TreeWalker> create(RawPtr<Node> rootNode, unsigned whatToShow, RawPtr<NodeFilter> filter)
{
- return adoptRefWillBeNoop(new TreeWalker(rootNode, whatToShow, filter));
+ return new TreeWalker(rootNode, whatToShow, filter);
}
Node* currentNode() const { return m_current.get(); }
- void setCurrentNode(PassRefPtrWillBeRawPtr<Node>);
+ void setCurrentNode(RawPtr<Node>);
Node* parentNode(ExceptionState&);
Node* firstChild(ExceptionState&);
@@ -59,11 +59,11 @@ public:
DECLARE_TRACE();
private:
- TreeWalker(PassRefPtrWillBeRawPtr<Node>, unsigned whatToShow, PassRefPtrWillBeRawPtr<NodeFilter>);
+ TreeWalker(RawPtr<Node>, unsigned whatToShow, RawPtr<NodeFilter>);
- Node* setCurrent(PassRefPtrWillBeRawPtr<Node>);
+ Node* setCurrent(RawPtr<Node>);
- RefPtrWillBeMember<Node> m_current;
+ Member<Node> m_current;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeShared.h ('k') | third_party/WebKit/Source/core/dom/TreeWalker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698