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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.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/png/PNGImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
index 7ce6aa0faf83c7c6d2ece1ce6cc94ea5d07f7427..dacc93828c0ce9879cd776667be3e5fb0c33aed2 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.h
@@ -39,6 +39,7 @@ class PLATFORM_EXPORT PNGImageDecoder final : public ImageDecoder {
public:
PNGImageDecoder(AlphaOption,
ColorSpaceOption,
+ sk_sp<SkColorSpace>,
size_t maxDecodedBytes,
size_t offset = 0);
~PNGImageDecoder() override;

Powered by Google App Engine
This is Rietveld 408576698