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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/gif/GIFImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
index a53c67a87a53db0c6212a419b39697f622c3d2d1..b4b5c352e5a94a475a26b8d84defa8211c81b534 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.h
@@ -41,7 +41,10 @@ class PLATFORM_EXPORT GIFImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(GIFImageDecoder);
public:
- GIFImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
+ GIFImageDecoder(AlphaOption,
+ ColorSpaceOption,
+ sk_sp<SkColorSpace>,
+ size_t maxDecodedBytes);
~GIFImageDecoder() override;
enum GIFParseQuery { GIFSizeQuery, GIFFrameCountQuery };

Powered by Google App Engine
This is Rietveld 408576698