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

Unified Diff: Source/core/platform/graphics/Image.cpp

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
« no previous file with comments | « Source/core/platform/graphics/Image.h ('k') | Source/core/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/Image.cpp
diff --git a/Source/core/platform/graphics/Image.cpp b/Source/core/platform/graphics/Image.cpp
index 342ba6a0a64f5ada43b70a8893931c09a1964da3..6867c8233fcd480fb83d57c9e4996982ead35c4d 100644
--- a/Source/core/platform/graphics/Image.cpp
+++ b/Source/core/platform/graphics/Image.cpp
@@ -34,11 +34,9 @@
#include "IntRect.h"
#include "Length.h"
#include "MIMETypeRegistry.h"
-#include "PlatformMemoryInstrumentation.h"
#include "SharedBuffer.h"
#include <math.h>
#include <wtf/MainThread.h>
-#include <wtf/MemoryObjectInfo.h>
#include <wtf/StdLibExtras.h>
namespace WebCore {
@@ -193,12 +191,4 @@ void Image::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsic
intrinsicHeight = Length(intrinsicRatio.height(), Fixed);
}
-void Image::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Image);
- memoryObjectInfo->setClassName("Image");
- info.addMember(m_encodedImageData, "encodedImageData");
- info.addWeakPointer(m_imageObserver);
-}
-
}
« no previous file with comments | « Source/core/platform/graphics/Image.h ('k') | Source/core/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698