Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1870)

Unified Diff: Source/core/svg/SVGAnimateColorElement.cpp

Issue 23857007: Add UseCounter for SVGAnimateColorElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase for landing Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/UseCounter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimateColorElement.cpp
diff --git a/Source/core/svg/SVGAnimateColorElement.cpp b/Source/core/svg/SVGAnimateColorElement.cpp
index 7e9fd0d7fdd21ba93f049d632a84440d6ef2353a..ce8d772bba7066b086152ecbe04c8cd7ec54fc11 100644
--- a/Source/core/svg/SVGAnimateColorElement.cpp
+++ b/Source/core/svg/SVGAnimateColorElement.cpp
@@ -22,6 +22,7 @@
#include "config.h"
#include "SVGNames.h"
+#include "core/page/UseCounter.h"
#include "core/svg/SVGAnimateColorElement.h"
namespace WebCore {
@@ -31,6 +32,8 @@ inline SVGAnimateColorElement::SVGAnimateColorElement(const QualifiedName& tagNa
{
ASSERT(hasTagName(SVGNames::animateColorTag));
ScriptWrappable::init(this);
+
+ UseCounter::count(&document, UseCounter::SVGAnimateColorElement);
}
PassRefPtr<SVGAnimateColorElement> SVGAnimateColorElement::create(const QualifiedName& tagName, Document& document)
« no previous file with comments | « Source/core/page/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698