| Index: cc/resources/tile.h
|
| diff --git a/cc/resources/tile.h b/cc/resources/tile.h
|
| index 29acf80a1e35d116e309dde63d4a9f3c8d5aa1a3..65761432ac4e2c2b28eed8d73b89dad5f3cc7890 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;
|
| }
|
|
|
|
|