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 899b8c3f6cf7e7d3c063718fb6e8724e246e153c..1e62ca9fcd732c047ec41330e5413b32b2ead2ca 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp |
@@ -55,9 +55,9 @@ void LayoutSVGContainer::layout() |
calcViewport(); |
// Allow LayoutSVGTransformableContainer to update its transform. |
- TransformChange transformChange = calculateLocalTransform(); |
+ SVGTransformChange transformChange = calculateLocalTransform(); |
m_didScreenScaleFactorChange = |
- transformChange == TransformChange::Full || SVGLayoutSupport::screenScaleFactorChanged(parent()); |
+ transformChange == SVGTransformChange::Full || SVGLayoutSupport::screenScaleFactorChanged(parent()); |
// LayoutSVGViewportContainer needs to set the 'layout size changed' flag. |
determineIfLayoutSizeChanged(); |
@@ -73,7 +73,7 @@ void LayoutSVGContainer::layout() |
if (everHadLayout() && needsLayout()) |
SVGResourcesCache::clientLayoutChanged(this); |
- if (m_needsBoundariesUpdate || transformChange != TransformChange::None) { |
+ if (m_needsBoundariesUpdate || transformChange != SVGTransformChange::None) { |
updateCachedBoundaries(); |
m_needsBoundariesUpdate = false; |
@@ -201,4 +201,9 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result, const FloatPoin |
return false; |
} |
+SVGTransformChange LayoutSVGContainer::calculateLocalTransform() |
+{ |
+ return SVGTransformChange::None; |
+} |
+ |
} // namespace blink |