| Index: third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
|
| index 068377088da156ea0a9c03cf786f3b69f642062a..66305823705374d2f65c7f70714b1807b514d9dd 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp
|
| @@ -463,8 +463,8 @@ class JPEGImageReader final {
|
| JOCTET* profile = nullptr;
|
| unsigned profileLength = 0;
|
| if (read_icc_profile(info(), &profile, &profileLength)) {
|
| - decoder()->setColorProfileAndComputeTransform(
|
| - reinterpret_cast<char*>(profile), profileLength);
|
| + decoder()->setEmbeddedColorProfile(reinterpret_cast<char*>(profile),
|
| + profileLength);
|
| free(profile);
|
| }
|
| if (decoder()->colorTransform()) {
|
|
|