Index: Source/core/platform/image-decoders/ImageDecoder.h |
diff --git a/Source/core/platform/image-decoders/ImageDecoder.h b/Source/core/platform/image-decoders/ImageDecoder.h |
index 89ff44d9020644a02013366183e4ed7df77eef64..4a518a27c3534d9cb9a45be77ddab28821779835 100644 |
--- a/Source/core/platform/image-decoders/ImageDecoder.h |
+++ b/Source/core/platform/image-decoders/ImageDecoder.h |
@@ -48,6 +48,7 @@ |
#include <wtf/RetainPtr.h> |
#endif |
#endif |
+#include <wtf/PassOwnPtr.h> |
namespace WebCore { |
@@ -116,7 +117,6 @@ namespace WebCore { |
unsigned duration() const { return m_duration; } |
FrameDisposalMethod disposalMethod() const { return m_disposalMethod; } |
bool premultiplyAlpha() const { return m_premultiplyAlpha; } |
- void reportMemoryUsage(MemoryObjectInfo*) const; |
void setHasAlpha(bool alpha); |
void setColorProfile(const ColorProfile&); |
@@ -379,8 +379,6 @@ namespace WebCore { |
// and returns true. Otherwise returns false. |
virtual bool hotSpot(IntPoint&) const { return false; } |
- virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
- |
virtual void setMemoryAllocator(SkBitmap::Allocator* allocator) |
{ |
// FIXME: this doesn't work for images with multiple frames. |