Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index 071e969517c018f1d43211232641f648faee73ba..73e42463ef4a4f177996530a5cebf97668f3af68 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -35,11 +35,10 @@ SVGViewSpec::SVGViewSpec(SVGSVGElement* contextElement) |
// This contextElement will be only used for keeping this alive from the tearoff. |
// SVGSVGElement holds a strong-ref to this SVGViewSpec, so this is kept alive as: |
// AnimatedProperty tearoff -(contextElement)-> SVGSVGElement -(RefPtr)-> SVGViewSpec. |
- : m_contextElement(contextElement) |
+ : SVGFitToViewBox(contextElement, PropertyMapPolicySkip) |
+ , m_contextElement(contextElement) |
, m_transform(SVGAnimatedTransformList::create(contextElement, SVGNames::transformAttr, SVGTransformList::create())) |
{ |
- SVGFitToViewBox::initialize(contextElement, PropertyMapPolicySkip); |
- |
ASSERT(m_contextElement); |
viewBox()->setReadOnly(); |