Index: Source/core/html/HTMLBRElement.cpp |
diff --git a/Source/core/html/HTMLBRElement.cpp b/Source/core/html/HTMLBRElement.cpp |
index a869c8768b5f893e4def412344c343282a12f00a..d92ac0c3e008924515465c92d7ff5f94bd0ea5e2 100644 |
--- a/Source/core/html/HTMLBRElement.cpp |
+++ b/Source/core/html/HTMLBRElement.cpp |
@@ -32,19 +32,19 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLBRElement::HTMLBRElement(const QualifiedName& tagName, Document* document) |
+HTMLBRElement::HTMLBRElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(brTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLBRElement> HTMLBRElement::create(Document* document) |
+PassRefPtr<HTMLBRElement> HTMLBRElement::create(Document& document) |
{ |
return adoptRef(new HTMLBRElement(brTag, document)); |
} |
-PassRefPtr<HTMLBRElement> HTMLBRElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLBRElement> HTMLBRElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLBRElement(tagName, document)); |
} |