| Index: cc/picture.h
|
| diff --git a/cc/picture.h b/cc/picture.h
|
| index 44abb9a1793eb6cd14dc41f2ee5b5157c9a25888..40644ee97ae9e3ac7712ba10b22ea504610db693 100644
|
| --- a/cc/picture.h
|
| +++ b/cc/picture.h
|
| @@ -42,6 +42,9 @@ class CC_EXPORT Picture
|
| // Apply this contents scale and raster the content rect into the canvas.
|
| void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale);
|
|
|
| + // Estimate the cost of rasterizing. To predict the cost of a particular
|
| + // call to Raster(), pass this the bounds of the canvas that will
|
| + // be rastered into.
|
| bool IsCheapInRect(const gfx::Rect& layer_rect);
|
|
|
| void GatherPixelRefs(
|
|
|