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

Unified Diff: Source/core/loader/cache/CachedFont.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/CachedFont.h ('k') | Source/core/loader/cache/CachedImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedFont.cpp
diff --git a/Source/core/loader/cache/CachedFont.cpp b/Source/core/loader/cache/CachedFont.cpp
index be3bf9340e51f4f9086cb59e3ce9dca7cb0c4b83..3d4c4e74d9113bb9b1aecf61e4dd9272e08471e9 100644
--- a/Source/core/loader/cache/CachedFont.cpp
+++ b/Source/core/loader/cache/CachedFont.cpp
@@ -35,7 +35,6 @@
#include "MemoryCache.h"
#include "SharedBuffer.h"
#include "TextResourceDecoder.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/Vector.h>
#if ENABLE(SVG_FONTS)
@@ -167,14 +166,4 @@ void CachedFont::checkNotify()
c->fontLoaded(this);
}
-void CachedFont::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResourceFont);
- CachedResource::reportMemoryUsage(memoryObjectInfo);
-#if ENABLE(SVG_FONTS)
- info.addMember(m_externalSVGDocument, "externalSVGDocument");
-#endif
- info.addMember(m_fontData, "fontData");
-}
-
}
« no previous file with comments | « Source/core/loader/cache/CachedFont.h ('k') | Source/core/loader/cache/CachedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698