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

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

Issue 2556723003: Merge color options into ColorBehavior (Closed)
Patch Set: Feedback Created 4 years 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 aaa6e09c8b2618e5d8075d1600dc625e3838466e..a2b49cf34730b17d0bbbedfa0ae0921f1dfbfc64 100644
--- a/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ContentLayerDelegate.cpp
@@ -94,7 +94,7 @@ void ContentLayerDelegate::paintContents(
// TODO(ccameron): This color space should come from the GraphicsLayer.
// https://crbug.com/667411
webDisplayItemList->setImpliedColorSpace(gfx::ColorSpace::FromSkColorSpace(
- ImageDecoder::globalTargetColorSpace()));
+ ColorBehavior::globalTargetColorSpace()));
}
paintController.setDisplayItemConstructionIsDisabled(false);
paintController.setSubsequenceCachingIsDisabled(false);

Powered by Google App Engine
This is Rietveld 408576698