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..03366393fc2f23664a6a963f422d4285f2d45fe8 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, |
@@ -58,7 +50,7 @@ void LayerProtoConverter::SerializeLayerProperties( |
proto::LayerUpdate* layer_update) { |
TRACE_EVENT0("cc.remote", "LayerProtoConverter::SerializeLayerProperties"); |
for (auto* layer : host->GetLayerTree()->LayersThatShouldPushProperties()) |
- layer->ToLayerPropertiesProto(layer_update); |
+ layer->ToLayerPropertiesProto(layer_update, false); |
ajuma
2016/10/04 15:45:10
Please create a variable for the bool argument.
Khushal
2016/10/04 18:34:47
Done.
|
host->GetLayerTree()->LayersThatShouldPushProperties().clear(); |
} |