| Index: cc/resources/picture_layer_tiling.cc
|
| diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
|
| index c3a2ffe17d6a604b94cab4b2f09199202b9115cd..5ea27e5a7c4e1bf474d8d8442b71c8f4bf10fdc7 100644
|
| --- a/cc/resources/picture_layer_tiling.cc
|
| +++ b/cc/resources/picture_layer_tiling.cc
|
| @@ -526,7 +526,9 @@ gfx::Rect PictureLayerTiling::ExpandRectEquallyToAreaBoundedBy(
|
| gfx::Rect starting_rect,
|
| int64 target_area,
|
| gfx::Rect bounding_rect) {
|
| - DCHECK(!starting_rect.IsEmpty());
|
| + if (starting_rect.IsEmpty())
|
| + return starting_rect;
|
| +
|
| DCHECK(!bounding_rect.IsEmpty());
|
| DCHECK_GT(target_area, 0);
|
|
|
|
|