| 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 8a4a964ca2cad019c4e0272ee2981e186d89d6c6..85d249923cf6e620d224bae7de8aba2874b26908 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp
|
| @@ -213,16 +213,6 @@ void LayoutImage::areaElementFocusChanged(HTMLAreaElement* areaElement) {
|
| invalidatePaintAndMarkForLayoutIfNeeded();
|
| }
|
|
|
| -bool LayoutImage::boxShadowShouldBeAppliedToBackground(
|
| - BackgroundBleedAvoidance bleedAvoidance,
|
| - const InlineFlowBox*) const {
|
| - if (!LayoutBoxModelObject::boxShadowShouldBeAppliedToBackground(
|
| - bleedAvoidance))
|
| - return false;
|
| -
|
| - return !const_cast<LayoutImage*>(this)->backgroundIsKnownToBeObscured();
|
| -}
|
| -
|
| bool LayoutImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
|
| unsigned) const {
|
| if (!m_imageResource->hasImage() || m_imageResource->errorOccurred())
|
|
|