aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPictureRecord.h')
-rw-r--r--src/core/SkPictureRecord.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index 7a6fc813a5..af65013b55 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -147,9 +147,7 @@ protected:
}
SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) override;
- const void* onPeekPixels(SkImageInfo*, size_t*) override {
- return NULL;
- }
+ bool onPeekPixels(SkPixmap*) override { return false; }
void willSave() override;
SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) override;