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

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

Issue 2117143003: Add a fast-path for independent inherited properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computedstyle_cleanup_rename_final_member_fields
Patch Set: Review feedback Created 4 years, 5 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
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 f9c29737d5a75ae2f2bcd26717fab81ecb25f541..50153fbd0adfe93ad2ebbb139f4069a2b4273eba 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()
elementsStyled = 0;
pseudoElementsStyled = 0;
baseStylesUsed = 0;
+ independentInheritedStylesPropagated = 0;
}
bool StyleResolverStats::allCountersEnabled() const
@@ -89,6 +90,7 @@ std::unique_ptr<TracedValue> StyleResolverStats::toTracedValue() const
tracedValue->setInteger("elementsStyled", elementsStyled);
tracedValue->setInteger("pseudoElementsStyled", pseudoElementsStyled);
tracedValue->setInteger("baseStylesUsed", baseStylesUsed);
+ tracedValue->setInteger("independentInheritedStylesPropagated", independentInheritedStylesPropagated);
return tracedValue;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolverStats.h ('k') | third_party/WebKit/Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698