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

Unified Diff: Source/core/dom/TagNodeList.cpp

Issue 23983034: [oilpan] Handlify Node raw pointers in html/ and subclasses of dom/LiveNodeList. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 3 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: Source/core/dom/TagNodeList.cpp
diff --git a/Source/core/dom/TagNodeList.cpp b/Source/core/dom/TagNodeList.cpp
index c53e060e80656748c05860fe208b0dbd712fa076..5dc9e0d9aa7df29e843bec326d1119f68500728e 100644
--- a/Source/core/dom/TagNodeList.cpp
+++ b/Source/core/dom/TagNodeList.cpp
@@ -30,7 +30,7 @@
namespace WebCore {
-TagNodeList::TagNodeList(PassRefPtr<Node> rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName)
+TagNodeList::TagNodeList(const Handle<Node>& rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName)
: LiveNodeList(rootNode, type, DoNotInvalidateOnAttributeChanges)
, m_namespaceURI(namespaceURI)
, m_localName(localName)
@@ -55,7 +55,7 @@ bool TagNodeList::nodeMatches(const Handle<Element>& testNode) const
return m_namespaceURI == starAtom || m_namespaceURI == testNode->namespaceURI();
}
-HTMLTagNodeList::HTMLTagNodeList(PassRefPtr<Node> rootNode, const AtomicString& localName)
+HTMLTagNodeList::HTMLTagNodeList(const Handle<Node>& rootNode, const AtomicString& localName)
: TagNodeList(rootNode, HTMLTagNodeListType, starAtom, localName)
, m_loweredLocalName(localName.lower())
{

Powered by Google App Engine
This is Rietveld 408576698