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

Unified Diff: Source/core/html/LabelsNodeList.h

Issue 280123002: Oilpan: move LiveNodeList collections to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have NodeRareData clear out NodeListsNodeData instead. Created 6 years, 7 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 | « Source/core/html/LabelableElement.cpp ('k') | Source/core/html/LabelsNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/LabelsNodeList.h
diff --git a/Source/core/html/LabelsNodeList.h b/Source/core/html/LabelsNodeList.h
index fd0b055a0e6a5dd47c20977d0a445d45eb95536e..4a8a485be33e9ee02c6abe58c3065d44c95cd08d 100644
--- a/Source/core/html/LabelsNodeList.h
+++ b/Source/core/html/LabelsNodeList.h
@@ -32,10 +32,10 @@ namespace WebCore {
class LabelsNodeList FINAL : public LiveNodeList {
public:
- static PassRefPtr<LabelsNodeList> create(ContainerNode& ownerNode, CollectionType type)
+ static PassRefPtrWillBeRawPtr<LabelsNodeList> create(ContainerNode& ownerNode, CollectionType type)
{
ASSERT_UNUSED(type, type == LabelsNodeListType);
- return adoptRef(new LabelsNodeList(ownerNode));
+ return adoptRefWillBeNoop(new LabelsNodeList(ownerNode));
}
virtual ~LabelsNodeList();
« no previous file with comments | « Source/core/html/LabelableElement.cpp ('k') | Source/core/html/LabelsNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698