| Index: cc/trees/layer_tree_host_common.cc
|
| diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
|
| index 6bed0fe50d2fcce5f64c418c5bec36ad712c4c03..64e768dc37b52982a275481f91efd9c83221ebef 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -296,6 +296,10 @@ static bool SubtreeShouldRenderToSeparateSurface(
|
| if (layer->force_render_surface())
|
| return true;
|
|
|
| + // If we'll make a copy of the layer's contents.
|
| + if (layer->HasRequestCopyCallback())
|
| + return true;
|
| +
|
| // If the layer uses a mask.
|
| if (layer->mask_layer())
|
| return true;
|
|
|