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

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: Remove ContentLayerClient* painter from UpdateAndExpandInvalidation and sync to head Created 4 years, 4 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_recording_source.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index ffab7dff5d5e7c901c271283e116c7f3c947f5bf..2ec46969f214e11d317dcb599b3eb20323d7c971 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -105,10 +105,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) {
« no previous file with comments | « cc/test/fake_recording_source.cc ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698