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

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

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/gif/GIFImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
index 54399fc01b73bf139ff7718dfa690734d9af208f..fbb791eb007cdcdc08c403cb5e9a246cf327f51a 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
@@ -33,13 +33,9 @@
namespace blink {
GIFImageDecoder::GIFImageDecoder(AlphaOption alphaOption,
- ColorSpaceOption colorOptions,
- sk_sp<SkColorSpace> targetColorSpace,
+ const ColorBehavior& colorBehavior,
size_t maxDecodedBytes)
- : ImageDecoder(alphaOption,
- colorOptions,
- std::move(targetColorSpace),
- maxDecodedBytes),
+ : ImageDecoder(alphaOption, colorBehavior, maxDecodedBytes),
m_repetitionCount(cAnimationLoopOnce) {}
GIFImageDecoder::~GIFImageDecoder() {}

Powered by Google App Engine
This is Rietveld 408576698