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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h

Issue 2420203002: Implement convertToBlob() in OffscreenCanvas (Closed)
Patch Set: fix layout test and reviewer feedback 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/webgl/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 13180516c8301b805e41c6e1241ae33196233c00..d6d6b4dceaff7b968e230b00ad08a015d4318690 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -595,6 +595,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext {
};
PassRefPtr<Image> getImage(AccelerationHint, SnapshotReason) const override;
+ ImageData* toImageData(SnapshotReason) const override;
void setFilterQuality(SkFilterQuality) override;
bool isWebGL2OrHigher() { return version() >= 2; }

Powered by Google App Engine
This is Rietveld 408576698