Index: Source/core/html/HTMLQuoteElement.cpp |
diff --git a/Source/core/html/HTMLQuoteElement.cpp b/Source/core/html/HTMLQuoteElement.cpp |
index 1b1563cde02913446f840808685c41e497e8065a..47f1cd9093f577ed27ede013f6a7a8ff14aa41ea 100644 |
--- a/Source/core/html/HTMLQuoteElement.cpp |
+++ b/Source/core/html/HTMLQuoteElement.cpp |
@@ -31,14 +31,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document* document) |
+inline HTMLQuoteElement::HTMLQuoteElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(qTag) || hasTagName(blockquoteTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLQuoteElement> HTMLQuoteElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLQuoteElement(tagName, document)); |
} |