| Index: sky/engine/core/rendering/RenderFlexibleBox.cpp
|
| diff --git a/sky/engine/core/rendering/RenderFlexibleBox.cpp b/sky/engine/core/rendering/RenderFlexibleBox.cpp
|
| index bfd8e9775d37444bfce59cd9ec3aa609c52ceca1..dc0672507efc496e67fa941a12a2b7c71dfe4326 100644
|
| --- a/sky/engine/core/rendering/RenderFlexibleBox.cpp
|
| +++ b/sky/engine/core/rendering/RenderFlexibleBox.cpp
|
| @@ -126,7 +126,7 @@ int RenderFlexibleBox::baselinePosition(FontBaseline, bool, LineDirectionMode di
|
| return beforeMarginInLineDirection(direction) + baseline;
|
| }
|
|
|
| -int RenderFlexibleBox::firstLineBoxBaseline() const
|
| +int RenderFlexibleBox::firstLineBoxBaseline(bool autoBaseline, FontBaseline baselineType) const
|
| {
|
| if (m_numberOfInFlowChildrenOnFirstLine <= 0)
|
| return -1;
|
| @@ -155,7 +155,7 @@ int RenderFlexibleBox::firstLineBoxBaseline() const
|
| if (isColumnFlow() && !hasOrthogonalFlow(baselineChild))
|
| return mainAxisExtentForChild(baselineChild) + baselineChild->logicalTop();
|
|
|
| - int baseline = baselineChild->firstLineBoxBaseline();
|
| + int baseline = baselineChild->firstLineBoxBaseline(autoBaseline, baselineType);
|
| if (baseline == -1) {
|
| // FIXME: We should pass |direction| into firstLineBoxBaseline and stop bailing out if we're a writing mode root.
|
| // This would also fix some cases where the flexbox is orthogonal to its container.
|
|
|