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

Unified Diff: cc/paint/skia_paint_canvas.cc

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/skia_paint_canvas.cc
diff --git a/cc/paint/skia_paint_canvas.cc b/cc/paint/skia_paint_canvas.cc
index a4ab9c19057a84c7114e7fe603223acee209f728..3e5a5e1f706a06c5861ce2df480ae50240bdcef6 100644
--- a/cc/paint/skia_paint_canvas.cc
+++ b/cc/paint/skia_paint_canvas.cc
@@ -42,23 +42,6 @@ SkISize SkiaPaintCanvas::getBaseLayerSize() const {
return canvas_->getBaseLayerSize();
}
-bool SkiaPaintCanvas::readPixels(const SkImageInfo& dest_info,
- void* dest_pixels,
- size_t dest_row_bytes,
- int src_x,
- int src_y) {
- return canvas_->readPixels(dest_info, dest_pixels, dest_row_bytes, src_x,
- src_y);
-}
-
-bool SkiaPaintCanvas::readPixels(SkBitmap* bitmap, int src_x, int src_y) {
- return canvas_->readPixels(bitmap, src_x, src_y);
-}
-
-bool SkiaPaintCanvas::readPixels(const SkIRect& srcRect, SkBitmap* bitmap) {
- return canvas_->readPixels(srcRect, bitmap);
-}
-
bool SkiaPaintCanvas::writePixels(const SkImageInfo& info,
const void* pixels,
size_t row_bytes,

Powered by Google App Engine
This is Rietveld 408576698