Index: cc/trees/layer_tree_host_in_process.cc |
diff --git a/cc/trees/layer_tree_host_in_process.cc b/cc/trees/layer_tree_host_in_process.cc |
index 4cb7d1b8dda3cbf9a6139ebdc5ae8c3d9392e29f..14909102e47627b683535969cf1b5726f9119f72 100644 |
--- a/cc/trees/layer_tree_host_in_process.cc |
+++ b/cc/trees/layer_tree_host_in_process.cc |
@@ -983,7 +983,10 @@ void LayerTreeHostInProcess::ToProtobufForCommit( |
// Serialize the LayerTree before serializing the properties. During layer |
// property serialization, we clear the list |layer_that_should_properties_| |
// from the LayerTree. |
- layer_tree_->ToProtobuf(proto->mutable_layer_tree()); |
+ // The serialization code here need to serialize the complete state, including |
+ // the result of the main frame update. |
+ const bool inputs_only = false; |
+ layer_tree_->ToProtobuf(proto->mutable_layer_tree(), inputs_only); |
LayerProtoConverter::SerializeLayerProperties(this, |
proto->mutable_layer_updates()); |