Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
index 8653fca29ee23cd93a1483631f2a27e215eebe4c..9f4b1c1d7bcd26faef4a027d2a195ad6b06bc977 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
@@ -153,12 +153,12 @@ void LayoutSVGResourceMarker::calcViewport() |
m_viewport = FloatRect(0, 0, w, h); |
} |
-bool LayoutSVGResourceMarker::calculateLocalTransform() |
+LayoutSVGContainer::TransformChange LayoutSVGResourceMarker::calculateLocalTransform() |
{ |
// TODO(fs): Temporarily, needing a layout implies that the local transform |
// has changed. This should be updated to be more precise and factor in the |
// actual (relevant) changes to the computed user-space transform. |
- return selfNeedsLayout(); |
+ return selfNeedsLayout() ? TransformChange::Full : TransformChange::None; |
} |
} // namespace blink |