| 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 ded24777fc93352efa5270495cbf6fd8340df234..aa9161f91f7aa97cda0308791155a7b6f9337080 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2078,7 +2078,7 @@ static inline LayoutRect flippedLogicalBoundingBox(LayoutRect boundingBox, Layou
|
| LayoutRect result = boundingBox;
|
| if (layoutObjects->isBox())
|
| toLayoutBox(layoutObjects)->flipForWritingMode(result);
|
| - else
|
| + else if (layoutObjects->containingBlock())
|
| layoutObjects->containingBlock()->flipForWritingMode(result);
|
| return result;
|
| }
|
|
|