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

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

Issue 2756463003: Remove opaque alpha channel special case (Closed)
Patch Set: Fix gif detecting if a frame claims to have transparency 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/gif/GIFImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
index d7ff80ed8abbd1d06688ce880514bd98bcf0a116..74c1633962603ac65dab13ba4cf048095e65e6a0 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
@@ -391,7 +391,7 @@ TEST(GIFImageDecoderTest, bitmapAlphaType) {
unpremulFrame->getStatus() != ImageFrame::FrameComplete);
EXPECT_EQ(unpremulFrame->bitmap().alphaType(), kUnpremul_SkAlphaType);
- // Fully decoded frame => the frame alpha type is known (opaque).
+ // Fully decoded frame
premulDecoder->setData(fullData.get(), true);
ASSERT_TRUE(premulDecoder->frameCount());
unpremulDecoder->setData(fullData.get(), true);

Powered by Google App Engine
This is Rietveld 408576698