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

Unified Diff: third_party/WebKit/Source/core/svg/SVGViewElement.cpp

Issue 2213423002: Measure SVGViewElement Constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 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 | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGViewElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
index 7d0ed4f9127b4fa9a9ba11b519f0556138a907c2..45c5126abd921c1aaab38b08d25ae73a59a233a2 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGViewElement.cpp
@@ -20,6 +20,8 @@
#include "core/svg/SVGViewElement.h"
+#include "core/frame/UseCounter.h"
+
namespace blink {
inline SVGViewElement::SVGViewElement(Document& document)
@@ -28,6 +30,7 @@ inline SVGViewElement::SVGViewElement(Document& document)
, m_viewTarget(SVGStaticStringList::create(this, SVGNames::viewTargetAttr))
{
addToPropertyMap(m_viewTarget);
+ UseCounter::count(document, UseCounter::SVGViewElement);
}
DEFINE_NODE_FACTORY(SVGViewElement)
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698