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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp

Issue 2454123002: Refactor image decoders to use 'colorSpace' instead of 'colorProfile' (Closed)
Patch Set: Fix legacy ImageFrame Created 4 years, 2 months 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 80ac8148d4c5a8998b7201bd2c376b099a0d1b73..1fb22ea28c13774883f9f2d4a2d6d57102d9a7d7 100644
--- a/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/bmp/BMPImageDecoderTest.cpp
@@ -15,10 +15,9 @@ namespace blink {
namespace {
std::unique_ptr<ImageDecoder> createDecoder() {
- return wrapUnique(
- new BMPImageDecoder(ImageDecoder::AlphaNotPremultiplied,
- ImageDecoder::GammaAndColorProfileApplied,
- ImageDecoder::noDecodedImageByteLimit));
+ return wrapUnique(new BMPImageDecoder(ImageDecoder::AlphaNotPremultiplied,
+ ImageDecoder::ColorSpaceApplied,
+ ImageDecoder::noDecodedImageByteLimit));
}
} // anonymous namespace

Powered by Google App Engine
This is Rietveld 408576698