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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h

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/UnacceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 2a6cf946bfd278feb8425a7d7e514a3043e8d767..c94f4b2c98f405686b6c6171a5bd8ce5b9d3e10f 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -53,6 +53,11 @@ class PLATFORM_EXPORT UnacceleratedImageBufferSurface
PaintCanvas* Canvas() override;
bool IsValid() const override;
+ bool WritePixels(const SkImageInfo& orig_info,
+ const void* pixels,
+ size_t row_bytes,
+ int x,
+ int y) override;
sk_sp<SkImage> NewImageSnapshot(AccelerationHint, SnapshotReason) override;

Powered by Google App Engine
This is Rietveld 408576698