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

Unified Diff: third_party/WebKit/Source/core/dom/EmptyNodeList.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/EmptyNodeList.h
diff --git a/third_party/WebKit/Source/core/dom/EmptyNodeList.h b/third_party/WebKit/Source/core/dom/EmptyNodeList.h
index 4fbfc6585b9fd82d945d10cebb249236ebe8665d..c82a24f3df9a4fc9ea55cf816ad1d335a4ba2345 100644
--- a/third_party/WebKit/Source/core/dom/EmptyNodeList.h
+++ b/third_party/WebKit/Source/core/dom/EmptyNodeList.h
@@ -39,9 +39,9 @@ namespace blink {
class EmptyNodeList final : public NodeList {
public:
- static PassRefPtrWillBeRawPtr<EmptyNodeList> create(Node& rootNode)
+ static RawPtr<EmptyNodeList> create(Node& rootNode)
{
- return adoptRefWillBeNoop(new EmptyNodeList(rootNode));
+ return new EmptyNodeList(rootNode);
}
~EmptyNodeList() override;
@@ -58,7 +58,7 @@ private:
bool isEmptyNodeList() const override { return true; }
Node* virtualOwnerNode() const override;
- RefPtrWillBeMember<Node> m_owner;
+ Member<Node> m_owner;
};
DEFINE_TYPE_CASTS(EmptyNodeList, NodeList, nodeList, nodeList->isEmptyNodeList(), nodeList.isEmptyNodeList());
« no previous file with comments | « third_party/WebKit/Source/core/dom/ElementRareData.cpp ('k') | third_party/WebKit/Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698