| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index 0dc69e022b5e13d8e96858008db145adf629eb62..eea2ba0f866761c0d4fde5bcdde3ef417cf98a0a 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -4793,7 +4793,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;
|
| @@ -4812,7 +4812,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;
|
| @@ -4820,7 +4820,7 @@ bool LayoutBox::mustInvalidateBackgroundOrBorderPaintOnHeightChange() const
|
|
|
| bool LayoutBox::canRenderBorderImage() const
|
| {
|
| - if (!style()->hasBorder())
|
| + if (!style()->hasBorderDecoration())
|
| return false;
|
|
|
| StyleImage* borderImage = style()->borderImage().image();
|
|
|