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

Unified Diff: cc/paint/paint_canvas.h

Issue 2792133002: Paint: remove readPixels. (Closed)
Patch Set: Created 3 years, 9 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
Index: cc/paint/paint_canvas.h
diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h
index 778841f61a9a7212d71d85322f5e58c9bae34658..c353836ec7f4daee8dcfd616a48093235fcbc07d 100644
--- a/cc/paint/paint_canvas.h
+++ b/cc/paint/paint_canvas.h
@@ -34,13 +34,6 @@ class CC_PAINT_EXPORT PaintCanvas {
virtual void flush() = 0;
virtual SkISize getBaseLayerSize() const = 0;
- virtual bool readPixels(const SkImageInfo& dest_info,
- void* dest_pixels,
- size_t dest_row_bytes,
- int src_x,
- int src_y) = 0;
- virtual bool readPixels(SkBitmap* bitmap, int src_x, int src_y) = 0;
- virtual bool readPixels(const SkIRect& srcRect, SkBitmap* bitmap) = 0;
virtual bool writePixels(const SkImageInfo& info,
const void* pixels,
size_t row_bytes,
« no previous file with comments | « ash/laser/laser_pointer_view.cc ('k') | cc/paint/skia_paint_canvas.h » ('j') | ui/gfx/canvas.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698