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

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

Issue 2660393002: Use gfx::ColorSpace instead of SkColorSpace in Blink (Closed)
Patch Set: Rebase (again) 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 05858584df10702a2146b779b000afc0218b53d6..548cb99bea6fdd45d23122f2e9c5b94f5e9fe807 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()) {
- 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