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

Unified Diff: Source/web/tests/GIFImageDecoderTest.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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 | « Source/web/tests/FilterOperationsTest.cpp ('k') | Source/web/tests/GraphicsContextTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « Source/web/tests/FilterOperationsTest.cpp ('k') | Source/web/tests/GraphicsContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698