Chromium Code Reviews

Unified Diff: Source/core/html/shadow/HTMLContentElement.h

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests build Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/shadow/HTMLContentElement.h
diff --git a/Source/core/html/shadow/HTMLContentElement.h b/Source/core/html/shadow/HTMLContentElement.h
index b3cb36aa4b652ee006d8a5eb8441a96400cd0c94..df52237d34fe7f1813653653cce7d949725e52ca 100644
--- a/Source/core/html/shadow/HTMLContentElement.h
+++ b/Source/core/html/shadow/HTMLContentElement.h
@@ -38,8 +38,8 @@ namespace WebCore {
class HTMLContentElement FINAL : public InsertionPoint {
public:
- static PassRefPtr<HTMLContentElement> create(const QualifiedName&, Document*);
- static PassRefPtr<HTMLContentElement> create(Document*);
+ static PassRefPtr<HTMLContentElement> create(const QualifiedName&, Document&);
+ static PassRefPtr<HTMLContentElement> create(Document&);
virtual ~HTMLContentElement();
@@ -51,7 +51,7 @@ public:
bool isSelectValid() const;
private:
- HTMLContentElement(const QualifiedName&, Document*);
+ HTMLContentElement(const QualifiedName&, Document&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;

Powered by Google App Engine