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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp

Issue 2707113003: Add "customPropertiesApplied" metric to StyleResolverStats. (Closed)
Patch Set: Created 3 years, 10 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/css/resolver/StyleResolverStats.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
index a88e18b7b4e6b4e8ffef430640274708593dc92e..74c719b29d1e30f7c90e1f860849a1dcf1cf7713 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverStats.cpp
@@ -56,6 +56,7 @@ void StyleResolverStats::reset() {
pseudoElementsStyled = 0;
baseStylesUsed = 0;
independentInheritedStylesPropagated = 0;
+ customPropertiesApplied = 0;
}
bool StyleResolverStats::allCountersEnabled() const {
@@ -95,6 +96,7 @@ std::unique_ptr<TracedValue> StyleResolverStats::toTracedValue() const {
tracedValue->setInteger("baseStylesUsed", baseStylesUsed);
tracedValue->setInteger("independentInheritedStylesPropagated",
independentInheritedStylesPropagated);
+ tracedValue->setInteger("customPropertiesApplied", customPropertiesApplied);
return tracedValue;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolverStats.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698