| Index: Source/core/svg/SVGViewElement.cpp
|
| diff --git a/Source/core/svg/SVGViewElement.cpp b/Source/core/svg/SVGViewElement.cpp
|
| index f61d51fcbb7cf0a0522104b4b57f12a2cdcb4352..58dadbb3366e2cb9bc9ab9c7b4b973c00c8d1d80 100644
|
| --- a/Source/core/svg/SVGViewElement.cpp
|
| +++ b/Source/core/svg/SVGViewElement.cpp
|
| @@ -26,21 +26,22 @@
|
| namespace WebCore {
|
|
|
| // Animated property definitions
|
| -DEFINE_ANIMATED_RECT(SVGViewElement, SVGNames::viewBoxAttr, ViewBox, viewBox)
|
| DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGViewElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
|
|
|
| BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGViewElement)
|
| - REGISTER_LOCAL_ANIMATED_PROPERTY(viewBox)
|
| REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
|
| REGISTER_PARENT_ANIMATED_PROPERTIES(SVGElement)
|
| END_REGISTER_ANIMATED_PROPERTIES
|
|
|
| inline SVGViewElement::SVGViewElement(Document& document)
|
| : SVGElement(SVGNames::viewTag, document)
|
| + , m_viewBox(SVGAnimatedRect::create(this, SVGNames::viewBoxAttr))
|
| , m_zoomAndPan(SVGZoomAndPanMagnify)
|
| , m_viewTarget(SVGNames::viewTargetAttr)
|
| {
|
| ScriptWrappable::init(this);
|
| +
|
| + addToPropertyMap(m_viewBox);
|
| registerAnimatedPropertiesForSVGViewElement();
|
| }
|
|
|
|
|