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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp

Issue 2982083002: FrameIsCompleteAtIndex to FrameIsReceivedAtIndex (Closed)
Patch Set: Update upstack from ImageDecoder Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
index 4ba3df74b0bbdcf564bface3b916bdafa3c692a1..30eb7daf99b78920cd178fe6f6e6e07c2c3a61bb 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp
@@ -352,18 +352,18 @@ TEST(AnimatedWebPTests, frameIsCompleteAndDuration) {
EXPECT_EQ(2u, decoder->FrameCount());
EXPECT_FALSE(decoder->Failed());
- EXPECT_TRUE(decoder->FrameIsCompleteAtIndex(0));
+ EXPECT_TRUE(decoder->FrameIsReceivedAtIndex(0));
EXPECT_EQ(1000, decoder->FrameDurationAtIndex(0));
- EXPECT_TRUE(decoder->FrameIsCompleteAtIndex(1));
+ EXPECT_TRUE(decoder->FrameIsReceivedAtIndex(1));
EXPECT_EQ(500, decoder->FrameDurationAtIndex(1));
decoder->SetData(data_buffer.Get(), true);
EXPECT_EQ(3u, decoder->FrameCount());
- EXPECT_TRUE(decoder->FrameIsCompleteAtIndex(0));
+ EXPECT_TRUE(decoder->FrameIsReceivedAtIndex(0));
EXPECT_EQ(1000, decoder->FrameDurationAtIndex(0));
- EXPECT_TRUE(decoder->FrameIsCompleteAtIndex(1));
+ EXPECT_TRUE(decoder->FrameIsReceivedAtIndex(1));
EXPECT_EQ(500, decoder->FrameDurationAtIndex(1));
- EXPECT_TRUE(decoder->FrameIsCompleteAtIndex(2));
+ EXPECT_TRUE(decoder->FrameIsReceivedAtIndex(2));
EXPECT_EQ(1000.0, decoder->FrameDurationAtIndex(2));
}
« no previous file with comments | « third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698