| 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 7dc3af62cd92b342ab2568456153a976240eeec9..3dce15690fa8b723fd96c2a394fbccb3674cefcd 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -655,11 +655,13 @@ void LayoutBlockFlow::DetermineLogicalLeftPositionForChild(LayoutBox& child) {
|
|
|
| void LayoutBlockFlow::SetLogicalLeftForChild(LayoutBox& child,
|
| LayoutUnit logical_left) {
|
| + LayoutPoint new_location(child.Location());
|
| if (IsHorizontalWritingMode()) {
|
| - child.SetX(logical_left);
|
| + new_location.SetX(logical_left);
|
| } else {
|
| - child.SetY(logical_left);
|
| + new_location.SetY(logical_left);
|
| }
|
| + child.SetLocationAndUpdateOverflowControlsIfNeeded(new_location);
|
| }
|
|
|
| void LayoutBlockFlow::SetLogicalTopForChild(LayoutBox& child,
|
|
|