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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.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/ico/ICOImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
index 9b83e69fb5bc70b0acb3889b50f5fb4f8b3b1029..a219161b9d94233334a37ecb8b4e1bf412547152 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoderTest.cpp
@@ -14,10 +14,10 @@ namespace blink {
namespace {
std::unique_ptr<ImageDecoder> createDecoder() {
- return wrapUnique(new ICOImageDecoder(
- ImageDecoder::AlphaNotPremultiplied, ImageDecoder::ColorSpaceTransformed,
- ImageDecoder::targetColorSpaceForTesting(),
- ImageDecoder::noDecodedImageByteLimit));
+ return wrapUnique(
+ new ICOImageDecoder(ImageDecoder::AlphaNotPremultiplied,
+ ColorBehavior::transformToTargetForTesting(),
+ ImageDecoder::noDecodedImageByteLimit));
}
}

Powered by Google App Engine
This is Rietveld 408576698