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

Unified Diff: cc/playback/largest_display_item.cc

Issue 1377353003: CL for perf tryjob on linux Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: cc/playback/largest_display_item.cc
diff --git a/cc/playback/largest_display_item.cc b/cc/playback/largest_display_item.cc
index 0ecd3d0547a9d79df74b6fb823f80e7d6fcc5b25..91b8e890823e1ddb437272905a6ce12e48c0e12a 100644
--- a/cc/playback/largest_display_item.cc
+++ b/cc/playback/largest_display_item.cc
@@ -68,4 +68,9 @@ size_t LargestDisplayItemSize() {
return kLargestDisplayItemSize;
}
+size_t TypicalDisplayItemSize() {
+ // We expect most DisplayItems in a large page to be DrawingDisplayItem.
+ return sizeof(DrawingDisplayItem);
+}
+
} // namespace cc
« no previous file with comments | « cc/playback/largest_display_item.h ('k') | third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698