| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index 63208b4e578c46ffa5a38107a9c5cfdb7cb290a3..d363c5462465e51be568631b0badfec337518a5b 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -402,7 +402,11 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
|
| // Serializes the parts of this LayerTreeHost that is needed for a commit to a
|
| // protobuf message. Not all members are serialized as they are not helpful
|
| // for remote usage.
|
| - void ToProtobufForCommit(proto::LayerTreeHost* proto);
|
| + // The |swap_promise_list_| is transferred to the serializer in
|
| + // |swap_promises|.
|
| + void ToProtobufForCommit(
|
| + proto::LayerTreeHost* proto,
|
| + std::vector<std::unique_ptr<SwapPromise>>* swap_promises);
|
|
|
| // Deserializes the protobuf into this LayerTreeHost before a commit. The
|
| // expected input is a serialized remote LayerTreeHost. After deserializing
|
|
|