| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index 997774bdc9a93ba40f2f01487f16fab6a0751c15..c554c4d0ad536e46a2e8ef5b29c8b899e45ddb96 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -137,6 +137,11 @@ bool LayoutBoxModelObject::hasLocalEquivalentBackground() const
|
| if (style()->hasBorderRadius())
|
| return false;
|
|
|
| + // TODO(flackr): Remove this when box shadows are still painted correctly when painting
|
| + // into the composited scrolling contents layer. https://crbug.com/646464
|
| + if (style()->boxShadow())
|
| + return false;
|
| +
|
| const FillLayer* layer = &(style()->backgroundLayers());
|
| for (; layer; layer = layer->next()) {
|
| if (layer->attachment() == LocalBackgroundAttachment)
|
|
|