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

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

Issue 2797213002: Fix BaseRenderingContext2D create/put/get-ImageData() for color managed canvas (Closed)
Patch Set: Fixing more interface listings fails 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/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 440d987c2a52d4005ae63923da744ad6abec61be..a5804361104581088e4df2dacd61e52836578960 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
@@ -109,6 +109,10 @@ class MODULES_EXPORT OffscreenCanvasRenderingContext2D final
bool IsPaintable() const final;
RefPtr<StaticBitmapImage> TransferToStaticBitmapImage();
+
+ CanvasColorSpace ColorSpace() const override;
+ String ColorSpaceAsString() const override;
+ CanvasPixelFormat PixelFormat() const override;
};
DEFINE_TYPE_CASTS(OffscreenCanvasRenderingContext2D,

Powered by Google App Engine
This is Rietveld 408576698