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

Unified Diff: Source/core/platform/image-decoders/ImageDecoder.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months 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/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.
« no previous file with comments | « Source/core/platform/graphics/skia/NativeImageSkia.cpp ('k') | Source/core/platform/image-decoders/ImageDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698