| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| index 8ba59de14eb4117a0106a1647fe0d635d55468ad..01489c49ada0678b06b32d106bd7c5623b011bd4 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.cpp
|
| @@ -174,7 +174,7 @@ void LayoutSVGRoot::layout()
|
| }
|
|
|
| updateLayerTransformAfterLayout();
|
| - m_hasBoxDecorationBackground = isDocumentElement() ? calculateHasBoxDecorations() : hasBoxDecorationBackground();
|
| + m_hasBoxDecorationBackground = isDocumentElement() ? styleRef().hasBoxDecorationBackground() : hasBoxDecorationBackground();
|
| invalidateBackgroundObscurationStatus();
|
|
|
| clearNeedsLayout();
|
| @@ -216,7 +216,7 @@ void LayoutSVGRoot::styleDidChange(StyleDifference diff, const ComputedStyle* ol
|
| setNeedsBoundariesUpdate();
|
| if (diff.needsPaintInvalidation()) {
|
| // Box decorations may have appeared/disappeared - recompute status.
|
| - m_hasBoxDecorationBackground = calculateHasBoxDecorations();
|
| + m_hasBoxDecorationBackground = styleRef().hasBoxDecorationBackground();
|
| }
|
|
|
| LayoutReplaced::styleDidChange(diff, oldStyle);
|
|
|