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

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, 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/NameNodeList.h
diff --git a/third_party/WebKit/Source/core/dom/NameNodeList.h b/third_party/WebKit/Source/core/dom/NameNodeList.h
index 5a8e392d7cd2a97e8c1dff25c548440cd60ad099..0a4ffe0d503acb8dc3894ea18395440b3f18353b 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;
« no previous file with comments | « third_party/WebKit/Source/core/dom/MutationRecord.idl ('k') | third_party/WebKit/Source/core/dom/NamedNodeMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698