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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.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/jpeg/JPEGImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
index 361fb2d51904772d69291488c81c180d6b19eb93..db35162328d60184776e5b5dd62b9202428afc00 100644
--- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp
@@ -47,9 +47,9 @@ static const size_t LargeEnoughSize = 1000 * 1000;
namespace {
std::unique_ptr<ImageDecoder> createDecoder(size_t maxDecodedBytes) {
- return wrapUnique(new JPEGImageDecoder(
- ImageDecoder::AlphaNotPremultiplied,
- ImageDecoder::GammaAndColorProfileApplied, maxDecodedBytes));
+ return wrapUnique(new JPEGImageDecoder(ImageDecoder::AlphaNotPremultiplied,
+ ImageDecoder::ColorSpaceApplied,
+ maxDecodedBytes));
}
std::unique_ptr<ImageDecoder> createDecoder() {

Powered by Google App Engine
This is Rietveld 408576698