Index: Source/core/rendering/RenderRubyText.cpp |
diff --git a/Source/core/rendering/RenderRubyText.cpp b/Source/core/rendering/RenderRubyText.cpp |
index 3e5a60f0dfb716c499564ad681131a05ea2d7355..3cbc0e557e07a9262577dccc9bff187b252ee0a4 100644 |
--- a/Source/core/rendering/RenderRubyText.cpp |
+++ b/Source/core/rendering/RenderRubyText.cpp |
@@ -67,7 +67,7 @@ void RenderRubyText::adjustInlineDirectionLineBounds(int expansionOpportunityCou |
ETextAlign textAlign = style()->textAlign(); |
// FIXME: This check is bogus since user can set the initial value. |
if (textAlign != RenderStyle::initialTextAlign()) |
- return RenderBlock::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); |
+ return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); |
int maxPreferredLogicalWidth = this->maxPreferredLogicalWidth(); |
if (maxPreferredLogicalWidth >= logicalWidth) |