Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index 67be16d742ae938554bfe962d39a2e185bdc1f5c..57a9ac25be1d944bed8d2f280e3c1be424d2d376 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -47,6 +47,13 @@ SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement) |
// Note: addToPropertyMap is not needed, as SVGViewSpec do not correspond to an element. |
} |
+void SVGViewSpec::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_contextElement); |
+ visitor->trace(m_transform); |
+ SVGFitToViewBox::trace(visitor); |
+} |
+ |
bool SVGViewSpec::parseViewSpec(const String& spec) |
{ |
if (spec.isEmpty() || !m_contextElement) |
@@ -210,9 +217,4 @@ bool SVGViewSpec::parseViewSpecInternal(const CharType* ptr, const CharType* end |
return true; |
} |
-void SVGViewSpec::trace(Visitor* visitor) |
-{ |
- visitor->trace(m_contextElement); |
-} |
- |
} |