| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 7a098e407c3170d03fdbc948ebb001ca222ec3f6..cb0c1fc25729b42500919d40ceabe57250f7cea3 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2420,14 +2420,13 @@ LayoutRect PaintLayer::logicalBoundingBox() const {
|
| return rect;
|
| }
|
|
|
| -static inline LayoutRect flippedLogicalBoundingBox(
|
| - LayoutRect boundingBox,
|
| - LayoutObject* layoutObjects) {
|
| +static inline LayoutRect flippedLogicalBoundingBox(LayoutRect boundingBox,
|
| + LayoutObject* layoutObject) {
|
| LayoutRect result = boundingBox;
|
| - if (layoutObjects->isBox())
|
| - toLayoutBox(layoutObjects)->flipForWritingMode(result);
|
| + if (layoutObject->isBox())
|
| + toLayoutBox(layoutObject)->flipForWritingMode(result);
|
| else
|
| - layoutObjects->containingBlock()->flipForWritingMode(result);
|
| + layoutObject->containingBlock()->flipForWritingMode(result);
|
| return result;
|
| }
|
|
|
|
|