Index: Source/core/rendering/RenderTableRow.cpp |
diff --git a/Source/core/rendering/RenderTableRow.cpp b/Source/core/rendering/RenderTableRow.cpp |
index 27de4d74b7ffc487a077f911be02ea71ff15ba43..d3f45f751672bb59dcfcbc4a5da3581cd32f4c57 100644 |
--- a/Source/core/rendering/RenderTableRow.cpp |
+++ b/Source/core/rendering/RenderTableRow.cpp |
@@ -275,7 +275,7 @@ RenderTableRow* RenderTableRow::createAnonymous(Document* document) |
RenderTableRow* RenderTableRow::createAnonymousWithParentRenderer(const RenderObject* parent) |
{ |
- RenderTableRow* newRow = RenderTableRow::createAnonymous(parent->document()); |
+ RenderTableRow* newRow = RenderTableRow::createAnonymous(&parent->document()); |
RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE_ROW); |
newRow->setStyle(newStyle.release()); |
return newRow; |