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

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 41ff7236754571b64d7fbcc244d24af3568cb82e..0421d89fc95d4fd8fc364117c621e4d69139cd90 100644
--- a/cc/paint/skia_paint_canvas.cc
+++ b/cc/paint/skia_paint_canvas.cc
@@ -23,6 +23,7 @@ SkiaPaintCanvas::SkiaPaintCanvas(const SkBitmap& bitmap,
const SkSurfaceProps& props)
: canvas_(new SkCanvas(bitmap, props)), owned_(canvas_) {}
+SkiaPaintCanvas::SkiaPaintCanvas(SkiaPaintCanvas&& other) = default;
SkiaPaintCanvas::~SkiaPaintCanvas() = default;
SkMetaData& SkiaPaintCanvas::getMetaData() {
@@ -41,10 +42,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