| Index: third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| index 8cd7c12e547787fce408157bb007957f9ffe9ded..736a0d46eaa1452378410a78516af4ee60483c87 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| @@ -72,6 +72,11 @@ bool ImageSource::hasColorProfile() const
|
| return m_decoder && m_decoder->hasColorProfile();
|
| }
|
|
|
| +PassRefPtr<ColorSpaceProfile> ImageSource::colorProfile() const
|
| +{
|
| + return m_decoder ? m_decoder->colorProfile() : nullptr;
|
| +}
|
| +
|
| IntSize ImageSource::size(RespectImageOrientationEnum shouldRespectOrientation) const
|
| {
|
| return frameSizeAtIndex(0, shouldRespectOrientation);
|
|
|