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 a3f2088e872b6c57f0ad9583dd810b23519abdba..667d8b102cba45503af01d149d88f52409e2dc02 100644 |
--- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp |
+++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp |
@@ -245,6 +245,18 @@ bool OffscreenCanvasRenderingContext2D::IsPaintable() const { |
return this->GetImageBuffer(); |
} |
+CanvasColorSpace OffscreenCanvasRenderingContext2D::ColorSpace() const { |
+ return color_params().color_space(); |
+} |
+ |
+String OffscreenCanvasRenderingContext2D::ColorSpaceAsString() const { |
+ return CanvasRenderingContext::ColorSpaceAsString(); |
+} |
+ |
+CanvasPixelFormat OffscreenCanvasRenderingContext2D::PixelFormat() const { |
+ return color_params().pixel_format(); |
+} |
+ |
bool OffscreenCanvasRenderingContext2D::IsAccelerated() const { |
return image_buffer_ && image_buffer_->IsAccelerated(); |
} |