Index: Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp |
index a1c4e4474400ed203df6ee7e345912cc5a26177a..5c2ef2c4942289cda0c24be380e3e7cdff9b4c95 100644 |
--- a/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -391,7 +391,7 @@ void LayoutBoxModelObject::addChildFocusRingRects(Vector<LayoutRect>& rects, con |
bool LayoutBoxModelObject::calculateHasBoxDecorations() const |
{ |
const ComputedStyle& styleToUse = styleRef(); |
- return hasBackground() || styleToUse.hasBorder() || styleToUse.hasAppearance() || styleToUse.boxShadow(); |
+ return hasBackground() || styleToUse.hasBorderDecoration() || styleToUse.hasAppearance() || styleToUse.boxShadow(); |
} |
void LayoutBoxModelObject::updateFromStyle() |