| Index: third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| index d046474e2cc69a1f60d911a39aab9485c0c3f00c..9f9e9f10d9a0bfd913ecbf9edf33f3e9e11ad9e4 100644
|
| --- a/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| +++ b/third_party/WebKit/Source/core/html/canvas/CanvasRenderingContext.cpp
|
| @@ -44,7 +44,8 @@ CanvasRenderingContext::CanvasRenderingContext(
|
| m_offscreenCanvas(offscreenCanvas),
|
| m_colorSpace(kLegacyCanvasColorSpace),
|
| m_creationAttributes(attrs) {
|
| - if (RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled()) {
|
| + if (RuntimeEnabledFeatures::experimentalCanvasFeaturesEnabled() &&
|
| + RuntimeEnabledFeatures::colorCorrectRenderingEnabled()) {
|
| if (m_creationAttributes.colorSpace() == kSRGBCanvasColorSpaceName)
|
| m_colorSpace = kSRGBCanvasColorSpace;
|
| else if (m_creationAttributes.colorSpace() ==
|
|
|