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

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

Issue 2556723003: Merge color options into ColorBehavior (Closed)
Patch Set: Feedback Created 4 years 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 1b93fab56851f9c096eb126e95ea8a90a34bed30..a24bdece4f2b89386eacc635d8c8e71e06905429 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -44,10 +44,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(ICOImageDecoder);
public:
- ICOImageDecoder(AlphaOption,
- ColorSpaceOption,
- sk_sp<SkColorSpace>,
- size_t maxDecodedBytes);
+ ICOImageDecoder(AlphaOption, const ColorBehavior&, size_t maxDecodedBytes);
~ICOImageDecoder() override;
// ImageDecoder:
@@ -181,7 +178,7 @@ class PLATFORM_EXPORT ICOImageDecoder final : public ImageDecoder {
IntSize m_frameSize;
// Used to pass on to an internally created PNG decoder.
- const ColorSpaceOption m_colorSpaceOption;
+ const ColorBehavior m_colorBehavior;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698