| Index: third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| index 85d695725bbf7c150675874c360a24a5066b8088..6ffc9f2572868b413713bc825e3b458a1a21a287 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutRubyRun.cpp
|
| @@ -228,7 +228,7 @@ void LayoutRubyRun::layout()
|
|
|
| // Place the LayoutRubyText such that its bottom is flush with the lineTop of the first line of the LayoutRubyBase.
|
| LayoutUnit lastLineRubyTextBottom = rt->logicalHeight();
|
| - LayoutUnit firstLineRubyTextTop = 0;
|
| + LayoutUnit firstLineRubyTextTop;
|
| RootInlineBox* rootBox = rt->lastRootBox();
|
| if (rootBox) {
|
| // In order to align, we have to ignore negative leading.
|
| @@ -237,7 +237,7 @@ void LayoutRubyRun::layout()
|
| }
|
|
|
| if (style()->isFlippedLinesWritingMode() == (style()->rubyPosition() == RubyPositionAfter)) {
|
| - LayoutUnit firstLineTop = 0;
|
| + LayoutUnit firstLineTop;
|
| if (LayoutRubyBase* rb = rubyBase()) {
|
| RootInlineBox* rootBox = rb->firstRootBox();
|
| if (rootBox)
|
|
|