Index: src/utils/android/SkAndroidSDKCanvas.h |
diff --git a/src/utils/android/SkAndroidSDKCanvas.h b/src/utils/android/SkAndroidSDKCanvas.h |
index cddd262bdb8e18181ebbc404881bbfb06b86ce81..47e771bb6a2a84a3ba5f499a0a406f814717b3b7 100644 |
--- a/src/utils/android/SkAndroidSDKCanvas.h |
+++ b/src/utils/android/SkAndroidSDKCanvas.h |
@@ -85,8 +85,8 @@ protected: |
bool isClipEmpty() const override; |
bool isClipRect() const override; |
SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override; |
- const void* onPeekPixels(SkImageInfo*, size_t*) override; |
- void* onAccessTopLayerPixels(SkImageInfo*, size_t*) override; |
+ bool onPeekPixels(SkPixmap*) override; |
+ bool onAccessTopLayerPixels(SkPixmap*) override; |
void willSave() override; |
SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) override; |
void willRestore() override; |