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

Unified Diff: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h

Issue 2420203002: Implement convertToBlob() in OffscreenCanvas (Closed)
Patch Set: rebase and fix global-interface-listing-service-worker-expected.txt Created 4 years, 2 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/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
index 481fe91633b005d6836b8d70113b836d8c08c2d9..d4cf1fc497881b1c27fff78ff0d3f5f06bdecc3c 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
@@ -51,6 +51,7 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
BaseRenderingContext2D::clearRect(x, y, width, height);
}
PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const final;
+ ImageData* toImageData(SnapshotReason) const override;
// BaseRenderingContext2D implementation
bool originClean() const final;

Powered by Google App Engine
This is Rietveld 408576698