| 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 2ac9ef42fa731067545289fce3ed0cb012d1c1fa..4eb48b255fa77b459012f7c68fc55c67e16224d3 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -417,8 +417,8 @@ void UpdateAccumulatedSurfaceState(
|
| DCHECK_IMPLIES(current_target->num_unclipped_descendants(),
|
| current_draw_transform.IsIdentityOrTranslation());
|
|
|
| - target_rect = gfx::ToEnclosingRect(
|
| - MathUtil::MapClippedRect(current_draw_transform, target_rect));
|
| + target_rect =
|
| + MathUtil::MapEnclosingClippedRect(current_draw_transform, target_rect);
|
| }
|
|
|
| // It is an error to not reach |render_target|. If this happens, it means that
|
|
|