| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index efe78d6c683c6f021062303079e58825e0ee8b8f..b6d2e9bf2c5a0616c0d242aa032ae0392f741b91 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -2247,6 +2247,8 @@ LayoutRect LayoutBox::localVisualRect() const {
|
| if (style()->visibility() != EVisibility::Visible)
|
| return LayoutRect();
|
|
|
| + if (hasMask() && !RuntimeEnabledFeatures::slimmingPaintV2Enabled())
|
| + return LayoutRect(layer()->boxForFilterOrMask());
|
| return selfVisualOverflowRect();
|
| }
|
|
|
|
|