Chromium Code Reviews| Index: cc/layers/layer_proto_converter.h |
| diff --git a/cc/layers/layer_proto_converter.h b/cc/layers/layer_proto_converter.h |
| index 94afcb91f7bfd82fa29ed7849efd69bba3c5c0c3..0272d3568cb805d0ad0a8f6eab93b398f9921214 100644 |
| --- a/cc/layers/layer_proto_converter.h |
| +++ b/cc/layers/layer_proto_converter.h |
| @@ -35,11 +35,10 @@ class CC_EXPORT LayerProtoConverter { |
| const scoped_refptr<Layer> existing_root, |
| const proto::LayerNode& root_node); |
| - // Starting at |root_layer|, serializes the properties of all the dirty nodes |
| - // in the Layer hierarchy. The proto::LayerUpdate will contain all nodes that |
| - // either are dirty or have dirty descendants. Only nodes that are dirty will |
| - // contain the list of dirty properties. |
| - static void SerializeLayerProperties(Layer* root_layer, |
| + // Serializes the properties of all the dirty nodes in the Layer hierarchy. |
| + // The proto::LayerUpdate will contain all nodes that are dirty. Only nodes |
| + // that are dirty will contain the list of dirty properties. |
|
ajuma
2016/03/18 14:33:15
Since the update only contains dirty nodes now, al
jaydasika
2016/03/19 02:17:58
Done.
|
| + static void SerializeLayerProperties(LayerTreeHost* host, |
| proto::LayerUpdate* layer_update); |
| // Iterate over all updated layers from the LayerUpdate, and update the |