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

Unified Diff: Source/core/dom/ParentNode.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/dom/NodeRareData.cpp ('k') | Source/core/dom/SelectorQuery.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ParentNode.h
diff --git a/Source/core/dom/ParentNode.h b/Source/core/dom/ParentNode.h
index 870724280479c444881e7f6a55a7a4109dc18151..ef837c84a68e84c08be688b0c4fdc6b1e58a7ea5 100644
--- a/Source/core/dom/ParentNode.h
+++ b/Source/core/dom/ParentNode.h
@@ -33,12 +33,13 @@
#include "core/dom/ContainerNode.h"
#include "core/dom/ElementTraversal.h"
+#include "platform/heap/Handle.h"
namespace WebCore {
class ParentNode {
public:
- static PassRefPtr<HTMLCollection> children(ContainerNode& node)
+ static PassRefPtrWillBeRawPtr<HTMLCollection> children(ContainerNode& node)
{
return node.children();
}
@@ -66,7 +67,7 @@ public:
return node.querySelector(selectors, exceptionState);
}
- static PassRefPtr<NodeList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState)
+ static PassRefPtrWillBeRawPtr<NodeList> querySelectorAll(ContainerNode& node, const AtomicString& selectors, ExceptionState& exceptionState)
{
return node.querySelectorAll(selectors, exceptionState);
}
« no previous file with comments | « Source/core/dom/NodeRareData.cpp ('k') | Source/core/dom/SelectorQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698