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/bmp/BMPImageDecoderTest.cpp

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: More const, better enums Created 4 years, 1 month 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/bmp/BMPImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
index e29a63e9fb5fad2d3fb323759b6685f988cfefaa..fdc05b47bd2083ab183edd28ab9f4b2d5fc01557 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
@@ -16,7 +16,8 @@ namespace {
std::unique_ptr<ImageDecoder> createDecoder() {
return wrapUnique(new BMPImageDecoder(ImageDecoder::AlphaNotPremultiplied,
- ImageDecoder::ColorSpaceApplied,
+ ImageDecoder::ColorSpaceTransformed,
+ ImageDecoder::globalTargetColorSpace(),
ImageDecoder::noDecodedImageByteLimit));
}

Powered by Google App Engine
This is Rietveld 408576698