Index: Source/core/html/HTMLFrameElement.cpp |
diff --git a/Source/core/html/HTMLFrameElement.cpp b/Source/core/html/HTMLFrameElement.cpp |
index 16216b169d48b22b9e0454f2bbad880b929994f9..c879077e3d9bb729aef7f6bd052647baf1ec5f64 100644 |
--- a/Source/core/html/HTMLFrameElement.cpp |
+++ b/Source/core/html/HTMLFrameElement.cpp |
@@ -32,7 +32,7 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLFrameElement::HTMLFrameElement(const QualifiedName& tagName, Document* document) |
+inline HTMLFrameElement::HTMLFrameElement(const QualifiedName& tagName, Document& document) |
: HTMLFrameElementBase(tagName, document) |
, m_frameBorder(true) |
, m_frameBorderSet(false) |
@@ -41,7 +41,7 @@ inline HTMLFrameElement::HTMLFrameElement(const QualifiedName& tagName, Document |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLFrameElement> HTMLFrameElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLFrameElement(tagName, document)); |
} |