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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
index 0636218ea926fe28053b62cf0bac31bb29910521..420b1b26c2080471aa78f55296180836b5662dd4 100644
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
@@ -255,6 +255,18 @@ bool OffscreenCanvasRenderingContext2D::IsPaintable() const {
return this->GetImageBuffer();
}
+CanvasColorSpace OffscreenCanvasRenderingContext2D::ColorSpace() const {
+ return CanvasRenderingContext::ColorSpace();
+}
+
+String OffscreenCanvasRenderingContext2D::ColorSpaceAsString() const {
+ return CanvasRenderingContext::ColorSpaceAsString();
+}
+
+CanvasPixelFormat OffscreenCanvasRenderingContext2D::PixelFormat() const {
+ return CanvasRenderingContext::PixelFormat();
+}
+
bool OffscreenCanvasRenderingContext2D::IsAccelerated() const {
return image_buffer_ && image_buffer_->IsAccelerated();
}

Powered by Google App Engine
This is Rietveld 408576698