diff options
author | 2015-05-26 11:31:54 -0700 | |
---|---|---|
committer | 2015-05-26 11:31:54 -0700 | |
commit | 884e97cb04db7ed053a866567ee9c6e4c01f993a (patch) | |
tree | 1a9052f1a6e85b13d71e07c2fcda57398832c4de /include/core/SkCanvas.h | |
parent | 6a44c6a7d89b748fb040d41697a337d357d7fa22 (diff) |
change internals over to SkPixmap and stop using accessBitmap
BUG=skia:
Review URL: https://codereview.chromium.org/1155443004
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index e7dac5e145..dda049654e 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. |