| Index: cc/resources/tile.h
|
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h
|
| index 716ea99024703a4e4e8b0363d8d427201770ff6a..b6d87b0c5d042fb20e066624f68d89d15ff7d3fb 100644
|
| --- a/cc/resources/tile.h
|
| +++ b/cc/resources/tile.h
|
| @@ -109,7 +109,9 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
|
| int source_frame_number() const { return source_frame_number_; }
|
|
|
| void set_picture_pile(scoped_refptr<PicturePileImpl> pile) {
|
| - DCHECK(pile->CanRaster(contents_scale_, content_rect_));
|
| + DCHECK(pile->CanRaster(contents_scale_, content_rect_))
|
| + << gfx::ScaleToEnclosingRect(content_rect_, 1.f / contents_scale_)
|
| + .ToString();
|
| picture_pile_ = pile;
|
| }
|
|
|
|
|