| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| index ec3674d7cbe1c6f5b250ece8280410a8a18d927e..406457ddcac348e06bfbcbbc9bb849fe067e16c0 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.h
|
| @@ -86,9 +86,15 @@ class CORE_EXPORT CanvasRenderingContext
|
|
|
| CanvasColorSpace colorSpace() const { return m_colorSpace; };
|
| WTF::String colorSpaceAsString() const;
|
| - sk_sp<SkColorSpace> skColorSpace() const;
|
| + // The color space in which the the content should be interpreted by the
|
| + // compositor. This is always defined.
|
| + gfx::ColorSpace gfxColorSpace() const;
|
| + // The color space that should be used for SkSurface creation. This may
|
| + // be nullptr.
|
| + sk_sp<SkColorSpace> skSurfaceColorSpace() const;
|
| SkColorType colorType() const;
|
| ColorBehavior colorBehaviorForMediaDrawnToCanvas() const;
|
| + bool skSurfacesUseColorSpace() const;
|
|
|
| virtual PassRefPtr<Image> getImage(AccelerationHint,
|
| SnapshotReason) const = 0;
|
|
|