Index: Source/core/html/HTMLFontElement.cpp |
diff --git a/Source/core/html/HTMLFontElement.cpp b/Source/core/html/HTMLFontElement.cpp |
index ab8a2b26896cd133f5b3a312642136979bec9de7..9f706c47517250236c48e2cd5c5306a8c8405814 100644 |
--- a/Source/core/html/HTMLFontElement.cpp |
+++ b/Source/core/html/HTMLFontElement.cpp |
@@ -38,14 +38,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-HTMLFontElement::HTMLFontElement(const QualifiedName& tagName, Document* document) |
+HTMLFontElement::HTMLFontElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(fontTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLFontElement> HTMLFontElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLFontElement> HTMLFontElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLFontElement(tagName, document)); |
} |