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

Unified Diff: cc/test/fake_display_list_recording_source.h

Issue 1123983002: cc: Use a ListContainer for DisplayItemList to reduce allocations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: displaylistcontainer: fixdcheck Created 5 years, 7 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 | « cc/test/fake_content_layer_client.cc ('k') | ui/compositor/clip_transform_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_display_list_recording_source.h
diff --git a/cc/test/fake_display_list_recording_source.h b/cc/test/fake_display_list_recording_source.h
index 22b831a86d70035c2ca3b44d75946d4180fb8812..d168cd63ae0d6c89208477077709d1a5eb8c4052 100644
--- a/cc/test/fake_display_list_recording_source.h
+++ b/cc/test/fake_display_list_recording_source.h
@@ -47,6 +47,7 @@ class FakeDisplayListRecordingSource : public DisplayListRecordingSource {
DisplayItemList::Create(recorded_viewport_, use_cached_picture);
client_.PaintContentsToDisplayList(display_list_.get(), recorded_viewport_,
painting_control);
+ display_list_->ProcessAppendedItems();
display_list_->CreateAndCacheSkPicture();
if (gather_pixel_refs_)
display_list_->GatherPixelRefs(grid_cell_size_);
« no previous file with comments | « cc/test/fake_content_layer_client.cc ('k') | ui/compositor/clip_transform_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698