Index: Source/core/html/HTMLIFrameElement.cpp |
diff --git a/Source/core/html/HTMLIFrameElement.cpp b/Source/core/html/HTMLIFrameElement.cpp |
index bd47bc4a56a8141d20360e0f5f19e67aa51bb5f9..0e9d72f7b1d7f4f040aa605793fda3984e74da15 100644 |
--- a/Source/core/html/HTMLIFrameElement.cpp |
+++ b/Source/core/html/HTMLIFrameElement.cpp |
@@ -35,7 +35,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLIFrameElement::HTMLIFrameElement(const QualifiedName& tagName, Document* document) |
+inline HTMLIFrameElement::HTMLIFrameElement(const QualifiedName& tagName, Document& document) |
: HTMLFrameElementBase(tagName, document) |
, m_didLoadNonEmptyDocument(false) |
{ |
@@ -44,7 +44,7 @@ inline HTMLIFrameElement::HTMLIFrameElement(const QualifiedName& tagName, Docume |
setHasCustomStyleCallbacks(); |
} |
-PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLIFrameElement> HTMLIFrameElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLIFrameElement(tagName, document)); |
} |