Index: Source/core/rendering/RenderQuote.cpp |
diff --git a/Source/core/rendering/RenderQuote.cpp b/Source/core/rendering/RenderQuote.cpp |
index 22623c6010f45949f9ecb7bccba30b7d9035e620..d6e308e9c544357573f355520ebd4cd2ee05166b 100644 |
--- a/Source/core/rendering/RenderQuote.cpp |
+++ b/Source/core/rendering/RenderQuote.cpp |
@@ -266,7 +266,7 @@ void RenderQuote::updateText() |
while (RenderObject* child = lastChild()) |
child->destroy(); |
- RenderTextFragment* fragment = new RenderTextFragment(document(), m_text.impl()); |
+ RenderTextFragment* fragment = new RenderTextFragment(&document(), m_text.impl()); |
fragment->setStyle(style()); |
addChild(fragment); |
} |