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

Unified Diff: cc/paint/skia_paint_canvas.cc

Issue 2758413002: cc/paint: Remove PaintCanvas::peekPixels. (Closed)
Patch Set: update 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 5928cecc78f5286773b8f5eb6770bf12cb2bd7f6..311a6db9d1059fdc4e44b99aff84e408a629617d 100644
--- a/cc/paint/skia_paint_canvas.cc
+++ b/cc/paint/skia_paint_canvas.cc
@@ -40,10 +40,6 @@ SkISize SkiaPaintCanvas::getBaseLayerSize() const {
return canvas_->getBaseLayerSize();
}
-bool SkiaPaintCanvas::peekPixels(SkPixmap* pixmap) {
- return canvas_->peekPixels(pixmap);
-}
-
bool SkiaPaintCanvas::readPixels(const SkImageInfo& dest_info,
void* dest_pixels,
size_t dest_row_bytes,

Powered by Google App Engine
This is Rietveld 408576698