| Index: cc/layers/layer_proto_converter.cc
|
| diff --git a/cc/layers/layer_proto_converter.cc b/cc/layers/layer_proto_converter.cc
|
| index 70023b062e1e58a2f0676f72a7c7787548995094..cf65dfdc7c83903022e01bd70756e95ba3c5f9fc 100644
|
| --- a/cc/layers/layer_proto_converter.cc
|
| +++ b/cc/layers/layer_proto_converter.cc
|
| @@ -23,14 +23,6 @@ LayerProtoConverter::LayerProtoConverter() {}
|
| LayerProtoConverter::~LayerProtoConverter() {}
|
|
|
| // static
|
| -void LayerProtoConverter::SerializeLayerHierarchy(
|
| - const scoped_refptr<Layer> root_layer,
|
| - proto::LayerNode* root_node) {
|
| - TRACE_EVENT0("cc.remote", "LayerProtoConverter::SerializeLayerHierarchy");
|
| - root_layer->ToLayerNodeProto(root_node);
|
| -}
|
| -
|
| -// static
|
| scoped_refptr<Layer> LayerProtoConverter::DeserializeLayerHierarchy(
|
| scoped_refptr<Layer> existing_root,
|
| const proto::LayerNode& root_node,
|
| @@ -57,8 +49,9 @@ void LayerProtoConverter::SerializeLayerProperties(
|
| LayerTreeHost* host,
|
| proto::LayerUpdate* layer_update) {
|
| TRACE_EVENT0("cc.remote", "LayerProtoConverter::SerializeLayerProperties");
|
| + const bool inputs_only = false;
|
| for (auto* layer : host->GetLayerTree()->LayersThatShouldPushProperties())
|
| - layer->ToLayerPropertiesProto(layer_update);
|
| + layer->ToLayerPropertiesProto(layer_update, inputs_only);
|
| host->GetLayerTree()->LayersThatShouldPushProperties().clear();
|
| }
|
|
|
|
|