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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

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/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 060ec05cff53e2ed0c51521d98d207a4654ca649..1cd76ecffeca8f75299cb448c85825b4d4c0f1cd 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1025,7 +1025,6 @@ public:
DECLARE_VIRTUAL_TRACE();
bool hasSVGFilterElementsRequiringLayerUpdate() const { return m_layerUpdateSVGFilterElements.size(); }
- void didRecalculateStyleForElement() { ++m_styleRecalcElementCounter; }
AtomicString convertLocalName(const AtomicString&);
@@ -1396,8 +1395,6 @@ private:
using DocumentVisibilityObserverSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<DocumentVisibilityObserver>>;
DocumentVisibilityObserverSet m_visibilityObservers;
- int m_styleRecalcElementCounter;
-
ParserSynchronizationPolicy m_parserSyncPolicy;
OriginsUsingFeatures::Value m_originsUsingFeaturesValue;
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolverStats.h ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698