Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index c8d062d5fc7bc5764afb327f6b1ced4d7bf6ad01..f2e4f833a248a780a06f402b9f774e8c09f2a764 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -37,6 +37,7 @@ |
#include "core/page/Frame.h" |
#include "core/page/FrameTree.h" |
#include "core/page/FrameView.h" |
+#include "core/page/UseCounter.h" |
#include "core/platform/FloatConversion.h" |
#include "core/platform/graphics/FloatRect.h" |
#include "core/platform/graphics/transforms/AffineTransform.h" |
@@ -92,6 +93,8 @@ inline SVGSVGElement::SVGSVGElement(const QualifiedName& tagName, Document& doc) |
ASSERT(hasTagName(SVGNames::svgTag)); |
ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGSVGElement(); |
+ |
+ UseCounter::count(&doc, UseCounter::SVGSVGElement); |
} |
PassRefPtr<SVGSVGElement> SVGSVGElement::create(const QualifiedName& tagName, Document& document) |