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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.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/png/PNGImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
index f03406d7873edef96a113c39a49274f5be286804..8b6b216056d36400c241b34cab8b19569838ffc4 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
@@ -14,10 +14,9 @@ namespace {
std::unique_ptr<ImageDecoder> createDecoder(
ImageDecoder::AlphaOption alphaOption) {
- return wrapUnique(
- new PNGImageDecoder(alphaOption, ImageDecoder::ColorSpaceTransformed,
- ImageDecoder::targetColorSpaceForTesting(),
- ImageDecoder::noDecodedImageByteLimit));
+ return wrapUnique(new PNGImageDecoder(
+ alphaOption, ColorBehavior::transformToTargetForTesting(),
+ ImageDecoder::noDecodedImageByteLimit));
}
std::unique_ptr<ImageDecoder> createDecoder() {

Powered by Google App Engine
This is Rietveld 408576698