Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index e7dac5e145f726cd35a92b8a966cf46ea5e6088f..dda049654e3c5d3d813057444f23ea80308fa974 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1156,8 +1156,8 @@ protected: |
virtual SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&); |
// default impl defers to its device |
- virtual const void* onPeekPixels(SkImageInfo*, size_t* rowBytes); |
- virtual void* onAccessTopLayerPixels(SkImageInfo*, size_t* rowBytes); |
+ virtual bool onPeekPixels(SkPixmap*); |
+ virtual bool onAccessTopLayerPixels(SkPixmap*); |
// Subclass save/restore notifiers. |
// Overriders should call the corresponding INHERITED method up the inheritance chain. |