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

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

Issue 2756463003: Remove opaque alpha channel special case (Closed)
Patch Set: Checking if JPEGImageDecoder::OutputScanlines()'s SetHasAlpha(true) is under test Created 3 years, 7 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 79ced475f10d57523a4cd3f3a6116453064bd120..dadda60e893b6e7f7f1a4a79a87fa1f1ffbef984 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp
@@ -392,7 +392,7 @@ TEST(GIFImageDecoderTest, bitmapAlphaType) {
unpremul_frame->GetStatus() != ImageFrame::kFrameComplete);
EXPECT_EQ(unpremul_frame->Bitmap().alphaType(), kUnpremul_SkAlphaType);
- // Fully decoded frame => the frame alpha type is known (opaque).
+ // Fully decoded frame
premul_decoder->SetData(full_data.Get(), true);
ASSERT_TRUE(premul_decoder->FrameCount());
unpremul_decoder->SetData(full_data.Get(), true);

Powered by Google App Engine
This is Rietveld 408576698