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

Unified Diff: Source/platform/image-decoders/gif/GIFImageReader.h

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
Index: Source/platform/image-decoders/gif/GIFImageReader.h
diff --git a/Source/core/platform/image-decoders/gif/GIFImageReader.h b/Source/platform/image-decoders/gif/GIFImageReader.h
similarity index 97%
rename from Source/core/platform/image-decoders/gif/GIFImageReader.h
rename to Source/platform/image-decoders/gif/GIFImageReader.h
index 616f6e69e538978d7aaddcda1ca601ba7cae4d45..0464bb09013d3a5daf9ce0393fa7a2081355bce8 100644
--- a/Source/core/platform/image-decoders/gif/GIFImageReader.h
+++ b/Source/platform/image-decoders/gif/GIFImageReader.h
@@ -41,7 +41,8 @@
// Define ourselves as the clientPtr. Mozilla just hacked their C++ callback class into this old C decoder,
// so we will too.
#include "platform/SharedBuffer.h"
-#include "core/platform/image-decoders/gif/GIFImageDecoder.h"
+#include "platform/image-decoders/gif/GIFImageDecoder.h"
+#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -178,7 +179,7 @@ private:
// Frame output state machine.
struct GIFFrameContext {
- WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(GIFFrameContext);
public:
GIFFrameContext(int id)
: m_frameId(id)
@@ -274,8 +275,8 @@ private:
bool m_isDataSizeDefined;
};
-class GIFImageReader {
- WTF_MAKE_FAST_ALLOCATED;
+class PLATFORM_EXPORT GIFImageReader {
+ WTF_MAKE_FAST_ALLOCATED; WTF_MAKE_NONCOPYABLE(GIFImageReader);
public:
GIFImageReader(WebCore::GIFImageDecoder* client = 0)
: m_client(client)
« no previous file with comments | « Source/platform/image-decoders/gif/GIFImageDecoder.cpp ('k') | Source/platform/image-decoders/gif/GIFImageReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698