Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1478)

Unified Diff: src/utils/android/SkAndroidSDKCanvas.h

Issue 1151673004: Fix SkAndroidSDKCanvas virtuals (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Reviews Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/utils/android/SkAndroidSDKCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/utils/android/SkAndroidSDKCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698