| Index: cc/layers/ui_resource_layer.h
|
| diff --git a/cc/layers/ui_resource_layer.h b/cc/layers/ui_resource_layer.h
|
| index 3bfd9b2f109d1d0e995060d4d63141f21772d96b..dc2006e12bfa3d722e61903b6353c4ea0e13e70e 100644
|
| --- a/cc/layers/ui_resource_layer.h
|
| +++ b/cc/layers/ui_resource_layer.h
|
| @@ -26,7 +26,9 @@ class CC_EXPORT UIResourceLayer : public Layer {
|
|
|
| void SetBitmap(const SkBitmap& skbitmap);
|
|
|
| - // An alternative way of setting the resource to allow for sharing.
|
| + // An alternative way of setting the resource to allow for sharing. If you use
|
| + // this method, you are responsible for updating the ID if the layer moves
|
| + // between compositors.
|
| void SetUIResourceId(UIResourceId resource_id);
|
|
|
| // Sets a UV transform to be used at draw time. Defaults to (0, 0) and (1, 1).
|
| @@ -62,8 +64,6 @@ class CC_EXPORT UIResourceLayer : public Layer {
|
| scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
|
| void RecreateUIResourceHolder();
|
|
|
| -
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(UIResourceLayer);
|
| };
|
|
|
|
|