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

Unified Diff: cc/paint/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 | « ash/laser/laser_pointer_view.cc ('k') | cc/paint/skia_paint_canvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/paint_canvas.h
diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h
index 8796447359b3b69417dec4e10a30bd139e374687..daacc3017889050f52f4facfe35ae8b0053ba22b 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698