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 5ffed88d1cd3ecdcfb804db9997f4aec3358b969..8b0b954177898bf1ef932c46f13e707498c86e1f 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.cpp |
@@ -152,4 +152,12 @@ void LayoutSVGResourceMarker::calcViewport() |
m_viewport = FloatRect(0, 0, w, h); |
} |
+bool 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(); |
+} |
+ |
} // namespace blink |