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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.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/image-decoders/ImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
index bcfbf54c1cbd9dd16b15766c9aed8a7d73048ae4..870a9a68aee29125fbe797bbdd0f2af28f881600 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoderTest.cpp
@@ -42,8 +42,7 @@ class TestImageDecoder : public ImageDecoder {
public:
TestImageDecoder()
: ImageDecoder(AlphaNotPremultiplied,
- ColorSpaceTransformed,
- targetColorSpaceForTesting(),
+ ColorBehavior::transformToTargetForTesting(),
noDecodedImageByteLimit) {}
String filenameExtension() const override { return ""; }

Powered by Google App Engine
This is Rietveld 408576698