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

Unified Diff: cc/paint/skia_paint_canvas.h

Issue 2792133002: Paint: remove readPixels. (Closed)
Patch Set: update Created 3 years, 8 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 | « cc/paint/paint_canvas.h ('k') | cc/paint/skia_paint_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/skia_paint_canvas.h
diff --git a/cc/paint/skia_paint_canvas.h b/cc/paint/skia_paint_canvas.h
index 8d2be88cf023ad82fb4fa3132510326e77dd5d6d..669ca9b3e0b71ef7c44b7b73ca0565be3c7112b7 100644
--- a/cc/paint/skia_paint_canvas.h
+++ b/cc/paint/skia_paint_canvas.h
@@ -39,13 +39,6 @@ class CC_PAINT_EXPORT SkiaPaintCanvas final : public PaintCanvas {
void flush() override;
SkISize getBaseLayerSize() const override;
- bool readPixels(const SkImageInfo& dest_info,
- void* dest_pixels,
- size_t dest_row_bytes,
- int src_x,
- int src_y) override;
- bool readPixels(SkBitmap* bitmap, int src_x, int src_y) override;
- bool readPixels(const SkIRect& srcRect, SkBitmap* bitmap) override;
bool writePixels(const SkImageInfo& info,
const void* pixels,
size_t row_bytes,
« no previous file with comments | « cc/paint/paint_canvas.h ('k') | cc/paint/skia_paint_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698