| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 072e8e7efbf2d6ae30186f8514e2d47b790961b8..a7c2423e8e0590f1a7eef09fae1e3caf093e6cad 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -803,6 +803,8 @@ DrawSwapReadbackResult::DrawResult LayerTreeHostImpl::CalculateRenderPasses(
|
|
|
| AppendQuadsData append_quads_data(target_render_pass_id);
|
|
|
| + DCHECK(it->transform_is_invertible()) << "Layer should not have been added"
|
| + << " to surface";
|
| if (it.represents_target_render_surface()) {
|
| if (it->HasCopyRequest()) {
|
| have_copy_request = true;
|
|
|