Index: Source/core/layout/LayoutObject.cpp |
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp |
index da3f4f0bef5a2227494fd688dd5881ee0f33e968..08613f18c6ff8ff5cc1c1bac9146213dfae7d3ba 100644 |
--- a/Source/core/layout/LayoutObject.cpp |
+++ b/Source/core/layout/LayoutObject.cpp |
@@ -695,7 +695,7 @@ LayoutFlowThread* LayoutObject::locateFlowThreadContainingBlock() const |
// FIXME: This is incorrect for document element. Remove this when we enable slimming paint. |
static inline bool layoutObjectHasNoBoxEffectObsolete(const LayoutObject& object) |
{ |
- return !object.style()->hasVisualOverflowingEffect() && !object.style()->hasBorder() && !object.style()->hasBackground(); |
+ return !object.style()->hasVisualOverflowingEffect() && !object.style()->hasBorderDecoration() && !object.style()->hasBackground(); |
} |
bool LayoutObject::skipInvalidationWhenLaidOutChildren() const |