| Index: third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.cpp b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| index a582faf0c63e7c1a67eccdf9170ff683c4d81c42..e2c218ee307c366118ab6f71b3422e6b565abd64 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| @@ -209,7 +209,7 @@ bool LayoutImage::boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance
|
| if (!LayoutBoxModelObject::boxShadowShouldBeAppliedToBackground(bleedAvoidance))
|
| return false;
|
|
|
| - return !const_cast<LayoutImage*>(this)->boxDecorationBackgroundIsKnownToBeObscured();
|
| + return !const_cast<LayoutImage*>(this)->backgroundIsKnownToBeObscured();
|
| }
|
|
|
| bool LayoutImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned) const
|
| @@ -243,7 +243,7 @@ bool LayoutImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
|
|
|
| bool LayoutImage::computeBackgroundIsKnownToBeObscured() const
|
| {
|
| - if (!hasBackground())
|
| + if (!styleRef().hasBackground())
|
| return false;
|
|
|
| LayoutRect paintedExtent;
|
|
|