diff options
Diffstat (limited to 'cc/picture_pile.h')
-rw-r--r-- | cc/picture_pile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/picture_pile.h b/cc/picture_pile.h index 13a0b43..0755d7d 100644 --- a/cc/picture_pile.h +++ b/cc/picture_pile.h @@ -36,7 +36,7 @@ public: void PushPropertiesTo(PicturePile& other); // Clone a paint-safe version of this picture (with cloned PicturePileRecords) - scoped_ptr<PicturePile> CloneForDrawing(); + scoped_ptr<PicturePile> CloneForDrawing() const; // Raster a subrect of this PicturePile into the given canvas. // It's only safe to call paint on a cloned version. @@ -44,7 +44,7 @@ public: void Raster(SkCanvas* canvas, gfx::Rect rect); private: - void CopyAllButPile(PicturePile& from, PicturePile& to); + void CopyAllButPile(const PicturePile& from, PicturePile& to) const; std::vector<scoped_refptr<Picture> > pile_; gfx::Size size_; |