Index: Source/core/html/HTMLLinkElement.cpp |
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp |
index de25301c86e73e550a35c0a160bfed7ff5c7ddb1..cbc8b9a09250c04059b15631d39fbfb0155c1fa5 100644 |
--- a/Source/core/html/HTMLLinkElement.cpp |
+++ b/Source/core/html/HTMLLinkElement.cpp |
@@ -58,7 +58,7 @@ static LinkEventSender& linkLoadEventSender() |
return sharedLoadEventSender; |
} |
-inline HTMLLinkElement::HTMLLinkElement(const QualifiedName& tagName, Document* document, bool createdByParser) |
+inline HTMLLinkElement::HTMLLinkElement(const QualifiedName& tagName, Document& document, bool createdByParser) |
: HTMLElement(tagName, document) |
, m_linkLoader(this) |
, m_sizes(DOMSettableTokenList::create()) |
@@ -70,7 +70,7 @@ inline HTMLLinkElement::HTMLLinkElement(const QualifiedName& tagName, Document* |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLLinkElement> HTMLLinkElement::create(const QualifiedName& tagName, Document* document, bool createdByParser) |
+PassRefPtr<HTMLLinkElement> HTMLLinkElement::create(const QualifiedName& tagName, Document& document, bool createdByParser) |
{ |
return adoptRef(new HTMLLinkElement(tagName, document, createdByParser)); |
} |