Index: Source/core/html/HTMLHeadingElement.cpp |
diff --git a/Source/core/html/HTMLHeadingElement.cpp b/Source/core/html/HTMLHeadingElement.cpp |
index 36f8a66e86f6b3f1d0c5d767443257dc391cda08..7e9c986e4b71ef9e6980b914488193121ca7e86a 100644 |
--- a/Source/core/html/HTMLHeadingElement.cpp |
+++ b/Source/core/html/HTMLHeadingElement.cpp |
@@ -25,13 +25,13 @@ |
namespace WebCore { |
-inline HTMLHeadingElement::HTMLHeadingElement(const QualifiedName& tagName, Document* document) |
+inline HTMLHeadingElement::HTMLHeadingElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLHeadingElement> HTMLHeadingElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLHeadingElement(tagName, document)); |
} |