| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| index 334406103796d607d9cfbf31665fd4e693b1a070..df6cc47a10bcf3edd34da9c1ca64ab5220e33024 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
|
| @@ -55,8 +55,9 @@ void LayoutSVGContainer::layout()
|
| calcViewport();
|
|
|
| // Allow LayoutSVGTransformableContainer to update its transform.
|
| - bool updatedTransform = calculateLocalTransform();
|
| - m_didScreenScaleFactorChange = updatedTransform || SVGLayoutSupport::screenScaleFactorChanged(parent());
|
| + unsigned updatedTransform = calculateLocalTransform();
|
| + m_didScreenScaleFactorChange =
|
| + (updatedTransform & ScaleChange) || SVGLayoutSupport::screenScaleFactorChanged(parent());
|
|
|
| // LayoutSVGViewportContainer needs to set the 'layout size changed' flag.
|
| determineIfLayoutSizeChanged();
|
|
|