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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp

Issue 2822263004: Remove PaintCanvas::writePixels (Closed)
Patch Set: rm-writepixels: rmdcheck 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
Index: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
index 10858cc531556ab3c56e57badd69d00b43617776..bf97b5c4b89c8d2bb2d737f031124aa8d189353d 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.cpp
@@ -83,12 +83,4 @@ void ImageBufferSurface::Flush(FlushReason) {
Canvas()->flush();
}
-bool ImageBufferSurface::WritePixels(const SkImageInfo& orig_info,
- const void* pixels,
- size_t row_bytes,
- int x,
- int y) {
- return Canvas()->writePixels(orig_info, pixels, row_bytes, x, y);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698