| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index cb4f1cb6fbde1ec9110729abc354118be210d006..29dbc36f2ae42edbdd82ec49b83a23caea5e2ede 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -358,7 +358,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| // hierarchical structure to the given LayerNode proto. In addition to the
|
| // structure itself, the Layer id and type is also written to facilitate
|
| // construction of the correct layer on the client.
|
| - void ToLayerNodeProto(proto::LayerNode* proto) const;
|
| + virtual void ToLayerNodeProto(proto::LayerNode* proto) const;
|
|
|
| // Recursively iterate over this layer and all children and reset the
|
| // properties sent with the hierarchical structure in the LayerNode protos.
|
| @@ -371,9 +371,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| // into this node and its children. The |layer_map| should be used to look
|
| // for previously existing Layers, since they should be re-used between each
|
| // hierarchy update.
|
| - void FromLayerNodeProto(const proto::LayerNode& proto,
|
| - const LayerIdMap& layer_map,
|
| - LayerTreeHost* layer_tree_host);
|
| + virtual void FromLayerNodeProto(const proto::LayerNode& proto,
|
| + const LayerIdMap& layer_map,
|
| + LayerTreeHost* layer_tree_host);
|
|
|
| // This method is similar to PushPropertiesTo, but instead of pushing to
|
| // a LayerImpl, it pushes the properties to proto::LayerProperties. It is
|
|
|