| 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 6eb9de45a6f9a9740fe28b4b458f4785af035b87..4c1731d9683f3a284a9d4dc477c8be9e377048b3 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4813,7 +4813,7 @@ void LayoutBox::addVisualEffectOverflow() {
|
| addSelfVisualOverflow(visualEffectOverflow);
|
| }
|
|
|
| -LayoutRectOutsets LayoutBox::computeVisualEffectOverflowOutsets() const {
|
| +LayoutRectOutsets LayoutBox::computeVisualEffectOverflowOutsets() {
|
| ASSERT(style()->hasVisualOverflowingEffect());
|
|
|
| LayoutUnit top;
|
| @@ -4849,6 +4849,8 @@ LayoutRectOutsets LayoutBox::computeVisualEffectOverflowOutsets() const {
|
| addOutlineRects(outlineRects, LayoutPoint(),
|
| outlineRectsShouldIncludeBlockVisualOverflow());
|
| LayoutRect rect = unionRectEvenIfEmpty(outlineRects);
|
| + setOutlineMayBeAffectedByDescendants(rect.size() != size());
|
| +
|
| int outlineOutset = style()->outlineOutsetExtent();
|
| top = std::max(top, -rect.y() + outlineOutset);
|
| right = std::max(right, rect.maxX() - size().width() + outlineOutset);
|
|
|