Index: Source/WebCore/rendering/RenderRuby.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderRuby.cpp (revision 139397) |
+++ Source/WebCore/rendering/RenderRuby.cpp (working copy) |
@@ -184,7 +184,7 @@ |
RenderRubyRun* lastRun = lastRubyRun(this); |
if (!lastRun || lastRun->hasRubyText()) { |
lastRun = RenderRubyRun::staticCreateRubyRun(this); |
- RenderInline::addChild(lastRun); |
+ RenderInline::addChild(lastRun, beforeChild); |
} |
lastRun->addChild(child); |
} |
@@ -291,7 +291,7 @@ |
RenderRubyRun* lastRun = lastRubyRun(this); |
if (!lastRun || lastRun->hasRubyText()) { |
lastRun = RenderRubyRun::staticCreateRubyRun(this); |
- RenderBlock::addChild(lastRun); |
+ RenderBlock::addChild(lastRun, beforeChild); |
} |
lastRun->addChild(child); |
} |