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

Unified Diff: Source/platform/graphics/paint/DisplayItemList.h

Issue 1205703003: Add tracing for ContentLayerDelegate paintContents and DisplayItemList commit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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: Source/platform/graphics/paint/DisplayItemList.h
diff --git a/Source/platform/graphics/paint/DisplayItemList.h b/Source/platform/graphics/paint/DisplayItemList.h
index 14000ac5b636cc724c63b4c663a27edf4351b88f..6140393706b7623c5d446e44b6535b85afe53190 100644
--- a/Source/platform/graphics/paint/DisplayItemList.h
+++ b/Source/platform/graphics/paint/DisplayItemList.h
@@ -74,7 +74,8 @@ protected:
DisplayItemList()
: m_validlyCachedClientsDirty(false)
, m_constructionDisabled(false)
- , m_skippingCacheCount(0) { }
+ , m_skippingCacheCount(0)
+ , m_numCachedItems(0) { }
private:
friend class DisplayItemListTest;
@@ -121,6 +122,8 @@ private:
int m_skippingCacheCount;
+ int m_numCachedItems;
+
// Scope ids are allocated per client to ensure that the ids are stable for non-invalidated
// clients between frames, so that we can use the id to match new display items to cached
// display items.
« no previous file with comments | « Source/platform/graphics/ContentLayerDelegate.cpp ('k') | Source/platform/graphics/paint/DisplayItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698