Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 078f7f531f48e3c1786d1332743af27ca1a130f6..e58a491563a7511cda871a01fb2e80fc229c870c 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -343,14 +343,14 @@ protected: |
* PRIVATE / EXPERIMENTAL -- do not call |
* Construct an acceleration object and attach it to 'picture' |
*/ |
- virtual void EXPERIMENTAL_optimize(SkPicture* picture); |
+ virtual void EXPERIMENTAL_optimize(const SkPicture* picture); |
/** |
* PRIVATE / EXPERIMENTAL -- do not call |
* Purge all discardable optimization information for 'picture'. If |
* picture is NULL then purge discardable information for all pictures. |
*/ |
- virtual void EXPERIMENTAL_purge(SkPicture* picture); |
+ virtual void EXPERIMENTAL_purge(const SkPicture* picture); |
/** |
* PRIVATE / EXPERIMENTAL -- do not call |
@@ -362,7 +362,7 @@ protected: |
* to perform some device-specific warm up tasks and then let SkCanvas |
* perform the main rendering loop (by return false from here). |
*/ |
- virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture); |
+ virtual bool EXPERIMENTAL_drawPicture(SkCanvas* canvas, const SkPicture* picture); |
private: |
friend class SkCanvas; |