Index: Source/platform/image-decoders/ImageDecoderTest.cpp |
diff --git a/Source/platform/image-decoders/ImageDecoderTest.cpp b/Source/platform/image-decoders/ImageDecoderTest.cpp |
index 5647e94e64611ea73aa997cc32d3ce5560376688..9d4ba3b742ff66f2af84ea671d46183ebb22e146 100644 |
--- a/Source/platform/image-decoders/ImageDecoderTest.cpp |
+++ b/Source/platform/image-decoders/ImageDecoderTest.cpp |
@@ -221,21 +221,11 @@ |
frameBuffers[i].setStatus(i % 2 ? ImageFrame::FramePartial : ImageFrame::FrameComplete); |
decoder->clearCacheExceptFrame(kNotFound); |
+ |
for (size_t i = 0; i < numFrames; ++i) { |
SCOPED_TRACE(testing::Message() << i); |
EXPECT_EQ(ImageFrame::FrameEmpty, frameBuffers[i].status()); |
} |
-} |
- |
-TEST(ImageDecoderTest, clearCacheExceptFrameAllSingleFrame) |
-{ |
- OwnPtr<TestImageDecoder> decoder(adoptPtr(new TestImageDecoder())); |
- decoder->initFrames(1); |
- ImageFrame* frame = &decoder->frameBufferCache().first(); |
- frame->setStatus(ImageFrame::FrameComplete); |
- |
- decoder->clearCacheExceptFrame(kNotFound); |
- EXPECT_EQ(ImageFrame::FrameEmpty, frame->status()); |
} |
TEST(ImageDecoderTest, clearCacheExceptFramePreverveClearExceptFrame) |