| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| index 785cb425f791ef657581f54bc3540041cbd69b0f..239cfbdb6563e0fdeb14ebdc53324846741a6bf5 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -673,7 +673,7 @@ void LayoutBlockFlow::determineLogicalLeftPositionForChild(LayoutBox& child) {
|
| // edge or any positive margin push it out.
|
| // If the child is being centred then the margin calculated to do that has
|
| // factored in any offset required to avoid floats, so use it if necessary.
|
| - if (style()->textAlign() == WEBKIT_CENTER ||
|
| + if (style()->textAlign() == ETextAlign::WebkitCenter ||
|
| child.style()->marginStartUsing(style()).isAuto())
|
| newPosition =
|
| std::max(newPosition, positionToAvoidFloats + childMarginStart);
|
|
|