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

Unified Diff: Source/core/dom/ClassNodeList.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/dom/ClassNodeList.h
diff --git a/Source/core/dom/ClassNodeList.h b/Source/core/dom/ClassNodeList.h
index fbaa873a4b89d28bfd5a76b3b1e7566a4fb5a6b2..00610454e5cde2ce0d4aec02caab9f3cc2285ed7 100644
--- a/Source/core/dom/ClassNodeList.h
+++ b/Source/core/dom/ClassNodeList.h
@@ -39,7 +39,7 @@ namespace WebCore {
class ClassNodeList : public LiveNodeList {
public:
- static PassRefPtr<ClassNodeList> create(PassRefPtr<Node> rootNode, const String& classNames)
+ static PassRefPtr<ClassNodeList> create(const Handle<Node>& rootNode, const String& classNames)
{
return adoptRef(new ClassNodeList(rootNode, classNames));
}
@@ -49,7 +49,7 @@ public:
bool nodeMatchesInlined(const Handle<Element>&) const;
private:
- ClassNodeList(PassRefPtr<Node> rootNode, const String& classNames);
+ ClassNodeList(const Handle<Node>& rootNode, const String& classNames);
virtual bool nodeMatches(const Handle<Element>&) const;

Powered by Google App Engine
This is Rietveld 408576698