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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.h

Issue 2925623003: color: Remove unneeded ColorBehavior parameters from ImageSource (Closed)
Patch Set: Created 3 years, 6 months 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/graphics/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index f530753bc84156d732844f580ef7af9133fce491..a6a9eac234b7f03a355372a65ebf970f7ecd7fc9 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -91,7 +91,7 @@ class PLATFORM_EXPORT ImageSource final {
size_t FrameCount() const;
// Attempts to create the requested frame.
- sk_sp<SkImage> CreateFrameAtIndex(size_t, const ColorBehavior&);
+ sk_sp<SkImage> CreateFrameAtIndex(size_t);
float FrameDurationAtIndex(size_t) const;
bool FrameHasAlphaAtIndex(
@@ -106,7 +106,6 @@ class PLATFORM_EXPORT ImageSource final {
private:
std::unique_ptr<DeferredImageDecoder> decoder_;
- ColorBehavior decoder_color_behavior_;
bool all_data_received_ = false;
};

Powered by Google App Engine
This is Rietveld 408576698