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

Unified Diff: Source/core/platform/graphics/skia/NativeImageSkia.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
Index: Source/core/platform/graphics/skia/NativeImageSkia.cpp
diff --git a/Source/core/platform/graphics/skia/NativeImageSkia.cpp b/Source/core/platform/graphics/skia/NativeImageSkia.cpp
index ad103f0de33ba4b868ecc288caf30893fb0ea17f..35d839109969a15b7038da32eadab8f962c083aa 100644
--- a/Source/core/platform/graphics/skia/NativeImageSkia.cpp
+++ b/Source/core/platform/graphics/skia/NativeImageSkia.cpp
@@ -34,9 +34,7 @@
#include "NativeImageSkia.h"
#include "GraphicsContext3D.h"
-#include "MemoryInstrumentationSkia.h"
#include "PlatformInstrumentation.h"
-#include "PlatformMemoryInstrumentation.h"
#include "SkPixelRef.h"
#include "SkiaUtils.h"
@@ -181,17 +179,4 @@ SkIRect NativeImageSkia::CachedImageInfo::rectInSubset(const SkIRect& otherScale
return subsetRect;
}
-void NativeImageSkia::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this);
- info.addMember(m_image, "image");
- info.addMember(m_resizedImage, "resizedImage");
- info.addMember(m_cachedImageInfo, "cachedImageInfo");
-}
-
-void reportMemoryUsage(const NativeImageSkia* image, MemoryObjectInfo* memoryObjectInfo)
-{
- image->reportMemoryUsage(memoryObjectInfo);
-}
-
} // namespace WebCore
« no previous file with comments | « Source/core/platform/graphics/skia/NativeImageSkia.h ('k') | Source/core/platform/image-decoders/ImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698