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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h

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/ico/ICOImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
index dda6d6e6dc13ae363b18a8869b3358826cc21929..c88334a90b4e63b5735839b45c5bddc1464e35e6 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -44,9 +44,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(ICOImageDecoder);
public:
- ICOImageDecoder(AlphaOption,
- GammaAndColorProfileOption,
- size_t maxDecodedBytes);
+ ICOImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
~ICOImageDecoder() override;
// ImageDecoder:
@@ -180,7 +178,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
IntSize m_frameSize;
// Used to pass on to an internally created PNG decoder.
- const GammaAndColorProfileOption m_gammaAndColorProfileOption;
+ const ColorSpaceOption m_colorSpaceOption;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698