Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1047)

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1159773005: Handle border-image with fill and zero-width borders (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comment Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/paint/BoxDecorationData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/layout/LayoutBoxModelObject.cpp ('k') | Source/core/paint/BoxDecorationData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698