Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index cea21096536c19972e910b5159826c6ef4431a8d..293c9045fdceb05728450d29130c8322e1e8a477 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -4768,7 +4768,7 @@ bool LayoutBox::mustInvalidateBackgroundOrBorderPaintOnWidthChange() const |
return true; |
// Our fill layers are ok. Let's check border. |
- if (style()->hasBorder() && canRenderBorderImage()) |
+ if (style()->hasBorderDecoration() && canRenderBorderImage()) |
return true; |
return false; |
@@ -4787,7 +4787,7 @@ bool LayoutBox::mustInvalidateBackgroundOrBorderPaintOnHeightChange() const |
return true; |
// Our fill layers are ok. Let's check border. |
- if (style()->hasBorder() && canRenderBorderImage()) |
+ if (style()->hasBorderDecoration() && canRenderBorderImage()) |
return true; |
return false; |
@@ -4795,7 +4795,7 @@ bool LayoutBox::mustInvalidateBackgroundOrBorderPaintOnHeightChange() const |
bool LayoutBox::canRenderBorderImage() const |
{ |
- if (!style()->hasBorder()) |
+ if (!style()->hasBorderDecoration()) |
return false; |
StyleImage* borderImage = style()->borderImage().image(); |