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

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

Issue 2565323003: Move gif image decoder to SkCodec (Closed)
Patch Set: Fix DeferredImageDecoderTestWoPlatform.mixImagesGif by tracking onSetData(nullptr) Created 3 years, 9 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/image-decoders/ImageFrame.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
index 5b5eb8aa93cbe7a65d594895364f740b71297ded..d84d5ad625075bd466e6c502cdcd2ea7fcc4d5ae 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageFrame.h
@@ -122,6 +122,9 @@ class PLATFORM_EXPORT ImageFrame final {
// are written. Must only be called once. The specified color space may
// be nullptr if and only if color correct rendering is enabled. Returns
// whether allocation succeeded.
+ bool setSizeAndColorSpaceWithoutZeroFilling(int newWidth,
+ int newHeight,
+ sk_sp<SkColorSpace>);
bool setSizeAndColorSpace(int newWidth, int newHeight, sk_sp<SkColorSpace>);
bool hasAlpha() const;

Powered by Google App Engine
This is Rietveld 408576698