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

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

Issue 23886003: Have HTMLElements / SVGElements constructors take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/HTMLMetaElement.h
diff --git a/Source/core/html/HTMLMetaElement.h b/Source/core/html/HTMLMetaElement.h
index f9255b11430cac2535f655c5e1e3b0e4b759ba33..5d16b4d85f565b8db37a48a98a3eff4da8a0c634 100644
--- a/Source/core/html/HTMLMetaElement.h
+++ b/Source/core/html/HTMLMetaElement.h
@@ -29,15 +29,15 @@ namespace WebCore {
class HTMLMetaElement FINAL : public HTMLElement {
public:
- static PassRefPtr<HTMLMetaElement> create(Document*);
- static PassRefPtr<HTMLMetaElement> create(const QualifiedName&, Document*);
+ static PassRefPtr<HTMLMetaElement> create(Document&);
+ static PassRefPtr<HTMLMetaElement> create(const QualifiedName&, Document&);
String content() const;
String httpEquiv() const;
String name() const;
private:
- HTMLMetaElement(const QualifiedName&, Document*);
+ HTMLMetaElement(const QualifiedName&, Document&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698