Index: cc/resources/picture_pile_base.cc |
diff --git a/cc/resources/picture_pile_base.cc b/cc/resources/picture_pile_base.cc |
index 45db79141ec757e748260aae849cf644a3ab071c..7cb0d1b9911394493ed6c1e76fff8cdc44e079eb 100644 |
--- a/cc/resources/picture_pile_base.cc |
+++ b/cc/resources/picture_pile_base.cc |
@@ -142,7 +142,7 @@ bool PicturePileBase::HasRecordingAt(int x, int y) { |
} |
bool PicturePileBase::CanRaster(float contents_scale, |
- const gfx::Rect& content_rect) { |
+ const gfx::Rect& content_rect) const { |
if (tiling_.tiling_size().IsEmpty()) |
return false; |
gfx::Rect layer_rect = gfx::ScaleToEnclosingRect( |