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

Unified Diff: third_party/WebKit/Source/core/dom/NameNodeList.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, 10 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/NameNodeList.h
diff --git a/third_party/WebKit/Source/core/dom/NameNodeList.h b/third_party/WebKit/Source/core/dom/NameNodeList.h
index 5a8e392d7cd2a97e8c1dff25c548440cd60ad099..63c9c818bc30f24919d521978b004dfd27909305 100644
--- a/third_party/WebKit/Source/core/dom/NameNodeList.h
+++ b/third_party/WebKit/Source/core/dom/NameNodeList.h
@@ -32,10 +32,10 @@ namespace blink {
// NodeList which lists all Nodes in a Element with a given "name" attribute
class NameNodeList final : public LiveNodeList {
public:
- static PassRefPtrWillBeRawPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name)
+ static RawPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name)
{
ASSERT_UNUSED(type, type == NameNodeListType);
- return adoptRefWillBeNoop(new NameNodeList(rootNode, name));
+ return (new NameNodeList(rootNode, name));
}
~NameNodeList() override;

Powered by Google App Engine
This is Rietveld 408576698