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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2141233002: cc: Clean up RecordingSource API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test code refactor Created 4 years, 5 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/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index f295efcfaca6ea2c8cdaf8b5fbe7946151a5bcca..b6820274748040de4567df60626b1b217ebae4ab 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -106,10 +106,8 @@ ComputeLayerTreeHostProtoSizeSplitAsValue(proto::LayerTreeHost* proto) {
layer_properties_proto.picture();
picture_layer_properties_size += picture_proto.ByteSize();
- const proto::RecordingSource& recording_source_proto =
- picture_proto.recording_source();
const proto::DisplayItemList& display_list_proto =
- recording_source_proto.display_list();
+ picture_proto.display_list();
display_item_list_size += display_list_proto.ByteSize();
for (int j = 0; j < display_list_proto.items_size(); ++j) {

Powered by Google App Engine
This is Rietveld 408576698