Index: Source/core/html/HTMLTableCaptionElement.cpp |
diff --git a/Source/core/html/HTMLTableCaptionElement.cpp b/Source/core/html/HTMLTableCaptionElement.cpp |
index 2d77463093713c6ce494cd2058c9f761049030aa..870d7b43a13c40544e0a16f72f28d10a1abe106e 100644 |
--- a/Source/core/html/HTMLTableCaptionElement.cpp |
+++ b/Source/core/html/HTMLTableCaptionElement.cpp |
@@ -32,14 +32,14 @@ namespace WebCore { |
using namespace HTMLNames; |
-inline HTMLTableCaptionElement::HTMLTableCaptionElement(const QualifiedName& tagName, Document* document) |
+inline HTMLTableCaptionElement::HTMLTableCaptionElement(const QualifiedName& tagName, Document& document) |
: HTMLElement(tagName, document) |
{ |
ASSERT(hasTagName(captionTag)); |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLTableCaptionElement> HTMLTableCaptionElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLTableCaptionElement(tagName, document)); |
} |