Index: Source/core/rendering/RenderRuby.cpp |
diff --git a/Source/core/rendering/RenderRuby.cpp b/Source/core/rendering/RenderRuby.cpp |
index 3459add6f5076c3f98c0e8237546fe93fefbda22..f2fe87759bbd4a6e025f901516a9d6fd254235b0 100644 |
--- a/Source/core/rendering/RenderRuby.cpp |
+++ b/Source/core/rendering/RenderRuby.cpp |
@@ -85,7 +85,7 @@ static inline RenderBlock* rubyAfterBlock(const RenderObject* ruby) |
static RenderBlock* createAnonymousRubyInlineBlock(RenderObject* ruby) |
{ |
RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(ruby->style(), INLINE_BLOCK); |
- RenderBlock* newBlock = RenderBlock::createAnonymous(ruby->document()); |
+ RenderBlock* newBlock = RenderBlock::createAnonymous(&ruby->document()); |
newBlock->setStyle(newStyle.release()); |
return newBlock; |
} |