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

Unified Diff: Source/core/loader/cache/CachedImage.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/loader/cache/CachedImage.h ('k') | Source/core/loader/cache/CachedRawResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedImage.cpp
diff --git a/Source/core/loader/cache/CachedImage.cpp b/Source/core/loader/cache/CachedImage.cpp
index 5dd69a07677ad17de7c66c2d47e85ca5ac9ea5d7..00500dc7616cb31f2a0a2ee0a8a3df5d297bde4c 100644
--- a/Source/core/loader/cache/CachedImage.cpp
+++ b/Source/core/loader/cache/CachedImage.cpp
@@ -39,8 +39,6 @@
#include "Settings.h"
#include "SharedBuffer.h"
#include <wtf/CurrentTime.h>
-#include <wtf/MemoryInstrumentationHashMap.h>
-#include <wtf/MemoryObjectInfo.h>
#include <wtf/StdLibExtras.h>
#include <wtf/Vector.h>
@@ -461,18 +459,6 @@ void CachedImage::changedInRect(const Image* image, const IntRect& rect)
notifyObservers(&rect);
}
-void CachedImage::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResourceImage);
- memoryObjectInfo->setClassName("CachedImage");
- CachedResource::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_pendingContainerSizeRequests, "pendingContainerSizeRequests");
- info.addMember(m_image, "m_image");
-#if ENABLE(SVG)
- info.addMember(m_svgImageCache, "svgImageCache");
-#endif
-}
-
bool CachedImage::currentFrameKnownToBeOpaque(const RenderObject* renderer)
{
Image* image = imageForRenderer(renderer);
« no previous file with comments | « Source/core/loader/cache/CachedImage.h ('k') | Source/core/loader/cache/CachedRawResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698