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

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

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/html/HTMLCollection.h
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
index 263929adadedc3ea70d24308a91f72f2cb89ce91..96a1cb72e23452b73f370607f64e3ebee1244fda 100644
--- a/Source/core/html/HTMLCollection.h
+++ b/Source/core/html/HTMLCollection.h
@@ -36,7 +36,7 @@ namespace WebCore {
class HTMLCollection : public LiveNodeListBase {
public:
- static PassRefPtr<HTMLCollection> create(Node* base, CollectionType);
+ static PassRefPtr<HTMLCollection> create(const Handle<Node>& base, CollectionType);
virtual ~HTMLCollection();
// DOM API
@@ -69,7 +69,7 @@ public:
Result<Element> traverseForwardToOffset(unsigned offset, const Handle<Element>& currentElement, unsigned& currentOffset, unsigned& offsetInArray, const Handle<ContainerNode>& root) const;
protected:
- HTMLCollection(Node* base, CollectionType, ItemAfterOverrideType);
+ HTMLCollection(const Handle<Node>& base, CollectionType, ItemAfterOverrideType);
virtual void updateNameCache() const;

Powered by Google App Engine
This is Rietveld 408576698