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

Unified Diff: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.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/DeferredImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
index 8be1eb71d66a1c5f8ec388a00b4dc1798b4a6760..d455d12cc52e207b2ef2f2403d5274bb693b412e 100644
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
@@ -330,8 +330,7 @@ TEST_F(DeferredImageDecoderTest, smallerFrameCount) {
TEST_F(DeferredImageDecoderTest, frameOpacity) {
std::unique_ptr<DeferredImageDecoder> decoder = DeferredImageDecoder::create(
m_data, true, ImageDecoder::AlphaPremultiplied,
- ImageDecoder::ColorSpaceTransformed,
- ImageDecoder::targetColorSpaceForTesting());
+ ColorBehavior::transformToTargetForTesting());
SkImageInfo pixInfo = SkImageInfo::MakeN32Premul(1, 1);

Powered by Google App Engine
This is Rietveld 408576698