Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| diff --git a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| index a30f9d442ecf178981e51d387ca2f96351b70eda..7c10b62f8de7ac61f10b515951afd4d17db95cae 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| +++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp |
| @@ -90,8 +90,8 @@ void ContentLayerDelegate::paintContents( |
| webDisplayItemList); |
| if (m_graphicsLayer->colorBehavior().isTransformToTargetColorSpace()) { |
|
ccameron
2017/01/30 22:50:49
Avoid this extra contorted is one of the main moti
|
| - webDisplayItemList->setImpliedColorSpace(gfx::ColorSpace::FromSkColorSpace( |
| - m_graphicsLayer->colorBehavior().targetColorSpace())); |
| + webDisplayItemList->setImpliedColorSpace( |
| + m_graphicsLayer->colorBehavior().targetColorSpace()); |
| } |
| paintController.setDisplayItemConstructionIsDisabled(false); |
| paintController.setSubsequenceCachingIsDisabled(false); |