Index: Source/core/rendering/RenderTableSection.cpp |
diff --git a/Source/core/rendering/RenderTableSection.cpp b/Source/core/rendering/RenderTableSection.cpp |
index fb22ad1ca578e01568e8b1883217fccc99371e4a..de1f54512902e387a152a99808b85479511d81cf 100644 |
--- a/Source/core/rendering/RenderTableSection.cpp |
+++ b/Source/core/rendering/RenderTableSection.cpp |
@@ -1667,7 +1667,7 @@ RenderTableSection* RenderTableSection::createAnonymousWithParentRenderer(const |
{ |
RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(parent->style(), TABLE_ROW_GROUP); |
RenderTableSection* newSection = new RenderTableSection(0); |
- newSection->setDocumentForAnonymous(parent->document()); |
+ newSection->setDocumentForAnonymous(&parent->document()); |
newSection->setStyle(newStyle.release()); |
return newSection; |
} |