Index: Source/core/html/HTMLTableCellElement.cpp |
diff --git a/Source/core/html/HTMLTableCellElement.cpp b/Source/core/html/HTMLTableCellElement.cpp |
index c27a3efdd40945236abb23241b362befda452cf1..34f7bada2afbdf1db4509f9136dd97cab57a0538 100644 |
--- a/Source/core/html/HTMLTableCellElement.cpp |
+++ b/Source/core/html/HTMLTableCellElement.cpp |
@@ -42,13 +42,13 @@ static const int maxRowspan = 8190; |
using namespace HTMLNames; |
-inline HTMLTableCellElement::HTMLTableCellElement(const QualifiedName& tagName, Document* document) |
+inline HTMLTableCellElement::HTMLTableCellElement(const QualifiedName& tagName, Document& document) |
: HTMLTablePartElement(tagName, document) |
{ |
ScriptWrappable::init(this); |
} |
-PassRefPtr<HTMLTableCellElement> HTMLTableCellElement::create(const QualifiedName& tagName, Document* document) |
+PassRefPtr<HTMLTableCellElement> HTMLTableCellElement::create(const QualifiedName& tagName, Document& document) |
{ |
return adoptRef(new HTMLTableCellElement(tagName, document)); |
} |