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

Unified Diff: cc/layers/layer_proto_converter.h

Issue 1808373002: cc : Make tree synchronization independent of layer tree hierarchy (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/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

Powered by Google App Engine
This is Rietveld 408576698