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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp

Issue 2878363003: Revert of Fix ImageAnimation constant names after Blink renaming (Closed)
Patch Set: 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/png/PNGImageDecoderTest.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
index 17e8f45f2ddc754cdfe5e52e48d76b81187effe7..4bfa9c3dc1b9de4b554f7231800901c6fa1703dd 100644
--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
@@ -171,7 +171,7 @@
ASSERT_NE(nullptr, frame);
EXPECT_EQ(ImageFrame::kFrameComplete, frame->GetStatus());
EXPECT_FALSE(decoder->Failed());
- EXPECT_EQ(kAnimationNone, decoder->RepetitionCount());
+ EXPECT_EQ(kCAnimationNone, decoder->RepetitionCount());
}
// Decode up to the indicated fcTL offset and then provide an fcTL with the
@@ -312,7 +312,7 @@
TestRepetitionCount(
"/LayoutTests/images/resources/"
"png-animated-idat-not-part-of-animation.png",
- kAnimationNone);
+ kCAnimationNone);
}
// Test if the decoded metdata corresponds to the defined expectations
@@ -456,7 +456,7 @@
decoder->SetData(no_actl_data, true);
EXPECT_EQ(1u, decoder->FrameCount());
EXPECT_FALSE(decoder->Failed());
- EXPECT_EQ(kAnimationNone, decoder->RepetitionCount());
+ EXPECT_EQ(kCAnimationNone, decoder->RepetitionCount());
}
// Store the acTL for more tests.
@@ -506,7 +506,7 @@
decoder->SetData(extra_actl_data, true);
EXPECT_EQ(1u, decoder->FrameCount());
EXPECT_FALSE(decoder->Failed());
- EXPECT_EQ(kAnimationNone, decoder->RepetitionCount());
+ EXPECT_EQ(kCAnimationNone, decoder->RepetitionCount());
EXPECT_NE(nullptr, decoder->FrameBufferAtIndex(0));
EXPECT_FALSE(decoder->Failed());
}
@@ -936,14 +936,14 @@
ASSERT_EQ(original_data->size(), data->size());
// This will test both byte by byte and using the full data, and compare.
- TestByteByByteDecode(CreateDecoder, data.Get(), 1, kAnimationNone);
+ TestByteByByteDecode(CreateDecoder, data.Get(), 1, kCAnimationNone);
}
// Static PNG tests
TEST(StaticPNGTests, repetitionCountTest) {
TestRepetitionCount("/LayoutTests/images/resources/png-simple.png",
- kAnimationNone);
+ kCAnimationNone);
}
TEST(StaticPNGTests, sizeTest) {

Powered by Google App Engine
This is Rietveld 408576698