Index: Source/platform/graphics/ImageFrameGenerator.h |
diff --git a/Source/core/platform/graphics/ImageFrameGenerator.h b/Source/platform/graphics/ImageFrameGenerator.h |
similarity index 93% |
rename from Source/core/platform/graphics/ImageFrameGenerator.h |
rename to Source/platform/graphics/ImageFrameGenerator.h |
index 627229de8a58afeac626baa0b8dc744ecee1dbd6..964b0937ebfb2980e315d98610e8440b6b67ea8a 100644 |
--- a/Source/core/platform/graphics/ImageFrameGenerator.h |
+++ b/Source/platform/graphics/ImageFrameGenerator.h |
@@ -29,6 +29,7 @@ |
#include "SkBitmap.h" |
#include "SkSize.h" |
#include "SkTypes.h" |
+#include "platform/PlatformExport.h" |
#include "platform/graphics/ThreadSafeDataTransport.h" |
#include "wtf/PassOwnPtr.h" |
#include "wtf/PassRefPtr.h" |
@@ -44,13 +45,16 @@ class ImageDecoder; |
class ScaledImageFragment; |
class SharedBuffer; |
-class ImageDecoderFactory { |
+class PLATFORM_EXPORT ImageDecoderFactory { |
+ WTF_MAKE_NONCOPYABLE(ImageDecoderFactory); |
public: |
+ ImageDecoderFactory() {} |
virtual ~ImageDecoderFactory() { } |
virtual PassOwnPtr<ImageDecoder> create() = 0; |
}; |
-class ImageFrameGenerator : public ThreadSafeRefCounted<ImageFrameGenerator> { |
+class PLATFORM_EXPORT ImageFrameGenerator : public ThreadSafeRefCounted<ImageFrameGenerator> { |
+ WTF_MAKE_NONCOPYABLE(ImageFrameGenerator); |
public: |
static PassRefPtr<ImageFrameGenerator> create(const SkISize& fullSize, PassRefPtr<SharedBuffer> data, bool allDataReceived, bool isMultiFrame = false) |
{ |