Index: Source/core/svg/SVGAnimationElement.cpp |
diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp |
index 9351da43a996a77989552781f478508e2bc06d44..21873d730102fb6065858e9c1766d3fb28ade3b6 100644 |
--- a/Source/core/svg/SVGAnimationElement.cpp |
+++ b/Source/core/svg/SVGAnimationElement.cpp |
@@ -47,7 +47,7 @@ BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGAnimationElement) |
REGISTER_PARENT_ANIMATED_PROPERTIES(SVGTests) |
END_REGISTER_ANIMATED_PROPERTIES |
-SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document* document) |
+SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document& document) |
: SVGSMILElement(tagName, document) |
, m_fromPropertyValueType(RegularPropertyValue) |
, m_toPropertyValueType(RegularPropertyValue) |
@@ -60,7 +60,7 @@ SVGAnimationElement::SVGAnimationElement(const QualifiedName& tagName, Document* |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGAnimationElement(); |
- UseCounter::count(document, UseCounter::SVGAnimationElement); |
+ UseCounter::count(&document, UseCounter::SVGAnimationElement); |
} |
static void parseKeyTimes(const String& string, Vector<float>& result, bool verifyOrder) |