| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
|
| index 37e2d380d0d2dffd54acefa1ca273a4049a81b18..a32978124b16844a7a73a71796cc400df310ad30 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
|
| @@ -68,9 +68,10 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
|
| // SVGImage::draw() does a view layout prior to painting,
|
| // and we need that layout to know of the new size otherwise
|
| // the layout may be incorrectly using the old size.
|
| - if (m_containerSize != containerSize)
|
| + if (m_containerSize != containerSize) {
|
| setNeedsLayoutAndFullPaintInvalidation(
|
| LayoutInvalidationReason::SizeChanged);
|
| + }
|
| m_containerSize = containerSize;
|
| }
|
|
|
|
|