diff options
-rw-r--r-- | cc/picture.cc | 4 | ||||
-rw-r--r-- | cc/picture.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cc/picture.cc b/cc/picture.cc index c850fd8..1407f55 100644 --- a/cc/picture.cc +++ b/cc/picture.cc @@ -108,6 +108,10 @@ void Picture::Raster( canvas->restore(); } +bool Picture::IsCheapInRect(const gfx::Rect& layer_rect) { + return false; +} + void Picture::GatherPixelRefs(const gfx::Rect& layer_rect, std::list<skia::LazyPixelRef*>& pixel_ref_list) { DCHECK(picture_); diff --git a/cc/picture.h b/cc/picture.h index a6ed449..f64c6e8 100644 --- a/cc/picture.h +++ b/cc/picture.h @@ -42,6 +42,8 @@ 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); + bool IsCheapInRect(const gfx::Rect& layer_rect); + void GatherPixelRefs( const gfx::Rect& layer_rect, std::list<skia::LazyPixelRef*>& pixel_ref_list); |