Index: Source/core/html/HTMLObjectElement.cpp |
diff --git a/Source/core/html/HTMLObjectElement.cpp b/Source/core/html/HTMLObjectElement.cpp |
index 7b2278b1d66f004504d8b8b9b1cc676fdb883a07..5e0e8ce45b373d23c49c066bf201327946696172 100644 |
--- a/Source/core/html/HTMLObjectElement.cpp |
+++ b/Source/core/html/HTMLObjectElement.cpp |
@@ -50,7 +50,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLObjectElement::HTMLObjectElement(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser) |
+inline HTMLObjectElement::HTMLObjectElement(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser) |
: HTMLPlugInImageElement(tagName, document, createdByParser, ShouldNotPreferPlugInsForImages) |
, m_docNamedItem(true) |
, m_useFallbackContent(false) |
@@ -64,7 +64,7 @@ inline HTMLObjectElement::~HTMLObjectElement() |
{ |
} |
-PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form, bool createdByParser) |
+PassRefPtr<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form, bool createdByParser) |
{ |
return adoptRef(new HTMLObjectElement(tagName, document, form, createdByParser)); |
} |