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

Unified Diff: third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp

Issue 2660393002: Use gfx::ColorSpace instead of SkColorSpace in Blink (Closed)
Patch Set: Created 3 years, 11 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/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);

Powered by Google App Engine
This is Rietveld 408576698