Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
index 21300bbdf2fdb3e957e0b46ce7da0b647b37f221..5a94a49f17e7bf92aaec23ca80c417f461c30107 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
@@ -1062,7 +1062,7 @@ bool InlineFlowBox::boxShadowCanBeAppliedToBackground(const FillLayer& lastBackg |
// The checks here match how paintFillLayer() decides whether to clip (if it does, the shadow |
// would be clipped out, so it has to be drawn separately). |
StyleImage* image = lastBackgroundLayer.image(); |
- bool hasFillImage = image && image->canRender(layoutObject(), layoutObject().style()->effectiveZoom()); |
+ bool hasFillImage = image && image->canRender(); |
return (!hasFillImage && !layoutObject().style()->hasBorderRadius()) || (!prevLineBox() && !nextLineBox()) || !parent(); |
} |