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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1644543002: Moved element style recalc count and stats to StyleEngine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 920e6bbc83ef9a9dc337f46c46572f1fdda365c3..5948b8d2fea9c6c5fc59b1392b41232d82166173 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -309,9 +309,9 @@ unsigned Internals::updateStyleAndReturnAffectedElementCount(ExceptionState& exc
return 0;
}
- unsigned beforeCount = document->styleEngine().resolverAccessCount();
+ unsigned beforeCount = document->styleEngine().styleForElementCount();
document->updateLayoutTreeIfNeeded();
- return document->styleEngine().resolverAccessCount() - beforeCount;
+ return document->styleEngine().styleForElementCount() - beforeCount;
}
unsigned Internals::needsLayoutCount(ExceptionState& exceptionState) const

Powered by Google App Engine
This is Rietveld 408576698