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 |