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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.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/webp/WEBPImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
index fde848af48feec88df6327db774f49fb8f0a0c52..d33de5824df60cf1c0506db8bfc6a93bd65782ae 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
@@ -41,7 +41,10 @@ class PLATFORM_EXPORT WEBPImageDecoder final : public ImageDecoder {
WTF_MAKE_NONCOPYABLE(WEBPImageDecoder);
public:
- WEBPImageDecoder(AlphaOption, ColorSpaceOption, size_t maxDecodedBytes);
+ WEBPImageDecoder(AlphaOption,
+ ColorSpaceOption,
+ sk_sp<SkColorSpace>,
+ size_t maxDecodedBytes);
~WEBPImageDecoder() override;
// ImageDecoder:

Powered by Google App Engine
This is Rietveld 408576698