Index: Source/web/tests/GIFImageDecoderTest.cpp |
diff --git a/Source/core/platform/image-decoders/gif/GIFImageDecoderTest.cpp b/Source/web/tests/GIFImageDecoderTest.cpp |
similarity index 98% |
rename from Source/core/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
rename to Source/web/tests/GIFImageDecoderTest.cpp |
index 352d97453c3a7078d3dfc6212de746cebb05ce33..0e3c9097401e6bf3067bbc64d925e0e6f2993cf3 100644 |
--- a/Source/core/platform/image-decoders/gif/GIFImageDecoderTest.cpp |
+++ b/Source/web/tests/GIFImageDecoderTest.cpp |
@@ -30,7 +30,7 @@ |
#include "config.h" |
-#include "core/platform/image-decoders/gif/GIFImageDecoder.h" |
+#include "platform/image-decoders/gif/GIFImageDecoder.h" |
#include "platform/SharedBuffer.h" |
#include "public/platform/Platform.h" |
@@ -459,7 +459,7 @@ TEST(GIFImageDecoderTest, resumePartialDecodeAfterClearFrameBufferCache) |
// in the dictionary. Decoding should fail, but not infinitely loop or corrupt memory. |
TEST(GIFImageDecoderTest, badInitialCode) |
{ |
- RefPtr<SharedBuffer> testData = readFile("/Source/core/platform/image-decoders/testing/bad-initial-code.gif"); |
+ RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-initial-code.gif"); |
ASSERT_TRUE(testData.get()); |
OwnPtr<GIFImageDecoder> testDecoder(createDecoder()); |
@@ -472,7 +472,7 @@ TEST(GIFImageDecoderTest, badInitialCode) |
// The image has an invalid LZW code that exceeds dictionary size. Decoding should fail. |
TEST(GIFImageDecoderTest, badCode) |
{ |
- RefPtr<SharedBuffer> testData = readFile("/Source/core/platform/image-decoders/testing/bad-code.gif"); |
+ RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-code.gif"); |
ASSERT_TRUE(testData.get()); |
OwnPtr<GIFImageDecoder> testDecoder(createDecoder()); |