Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index c864e613caa6aa5d4b6d8f9e973e032047ce5816..aaa39d929f2665b29e14044bda8185c54b06e170 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -33,6 +33,7 @@ |
#include "core/events/Event.h" |
#include "core/events/EventListener.h" |
#include "core/events/EventSender.h" |
+#include "core/frame/UseCounter.h" |
#include "core/svg/SVGDocumentExtensions.h" |
#include "core/svg/SVGSVGElement.h" |
#include "core/svg/SVGURIReference.h" |
@@ -313,6 +314,8 @@ Node::InsertionNotificationRequest SVGSMILElement::insertedInto(ContainerNode* r |
if (!rootParent->inDocument()) |
return InsertionDone; |
+ UseCounter::count(document(), UseCounter::SVGSMILElementInDocument); |
+ |
setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames::attributeNameAttr))); |
SVGSVGElement* owner = ownerSVGElement(); |
if (!owner) |