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

Unified Diff: cc/playback/display_item_list.cc

Issue 1512823002: Serialize DisplayListRecordingSource to protos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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/cc.gyp ('k') | cc/playback/display_item_list_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_item_list.cc
diff --git a/cc/playback/display_item_list.cc b/cc/playback/display_item_list.cc
index aab56fcd18fab24f649280af66041a578d747191..ed2fe7b19040395535ebd455124bfeedf6726c68 100644
--- a/cc/playback/display_item_list.cc
+++ b/cc/playback/display_item_list.cc
@@ -66,6 +66,8 @@ scoped_refptr<DisplayItemList> DisplayItemList::CreateFromProto(
item_proto);
}
+ list->Finalize();
+
return list;
}
@@ -160,6 +162,8 @@ bool DisplayItemList::RetainsIndividualDisplayItems() const {
void DisplayItemList::Finalize() {
// TODO(wkorman): Uncomment the assert below once we've investigated
// and resolved issues. http://crbug.com/557905
+ // TODO(dtrainor): Need to deal with serializing visual_rects_.
+ // http://crbug.com/568757.
// DCHECK_EQ(items_.size(), visual_rects_.size());
// TODO(vmpstr): Build and make use of an RTree from the visual
« no previous file with comments | « cc/cc.gyp ('k') | cc/playback/display_item_list_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698