| 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 80c7de4745b6e5ccc483acaf4bcc33de4f2a9ce3..1f946b5a9a636e8ab66cff6cb8d1fab02e58c5b7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1949,8 +1949,8 @@ void LayoutBox::inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect& p
|
| if (hasReflection())
|
| paintInvalidationRect.unite(reflectedRect(paintInvalidationRect));
|
|
|
| - if (style()->hasFilter())
|
| - paintInvalidationRect.expand(style()->filterOutsets());
|
| + if (layer() && layer()->hasFilter())
|
| + paintInvalidationRect.expand(layer()->filterOutsets());
|
| }
|
|
|
| void LayoutBox::invalidatePaintForOverhangingFloats(bool)
|
|
|