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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.cpp

Issue 2620673002: Added trace for scheduleInvalidationsForRuleSets. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | 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/dom/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 57e5ed09d1b8f3abbdbbb351f6b2041c7cee00b9..b225c0941afb20b79e1157522a89e75d7fd1788c 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -849,6 +849,9 @@ void StyleEngine::scheduleInvalidationsForRuleSets(
DCHECK(!ruleSet->features().needsFullRecalcForRuleSetInvalidation());
#endif // DCHECK_IS_ON()
+ TRACE_EVENT0("blink,blink_style",
+ "StyleEngine::scheduleInvalidationsForRuleSets");
+
bool invalidateSlotted = false;
if (treeScope.rootNode().isShadowRoot()) {
Element& host = toShadowRoot(treeScope.rootNode()).host();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698