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

Unified Diff: Source/core/loader/cache/CachedCSSStyleSheet.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/CachedCSSStyleSheet.h ('k') | Source/core/loader/cache/CachedFont.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedCSSStyleSheet.cpp
diff --git a/Source/core/loader/cache/CachedCSSStyleSheet.cpp b/Source/core/loader/cache/CachedCSSStyleSheet.cpp
index c74a036618aac885289f6885749a4ba465fefe7e..748e2a6cfb71dc9d0e46d95d83360b5e8f4c86ca 100644
--- a/Source/core/loader/cache/CachedCSSStyleSheet.cpp
+++ b/Source/core/loader/cache/CachedCSSStyleSheet.cpp
@@ -35,7 +35,6 @@
#include "SharedBuffer.h"
#include "StyleSheetContents.h"
#include "TextResourceDecoder.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/CurrentTime.h>
#include <wtf/Vector.h>
@@ -181,13 +180,4 @@ void CachedCSSStyleSheet::saveParsedStyleSheet(PassRefPtr<StyleSheetContents> sh
setDecodedSize(m_parsedStyleSheetCache->estimatedSizeInBytes());
}
-void CachedCSSStyleSheet::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CachedResourceCSS);
- CachedResource::reportMemoryUsage(memoryObjectInfo);
- info.addMember(m_decoder, "decoder");
- info.addMember(m_parsedStyleSheetCache, "parsedStyleSheetCache");
- info.addMember(m_decodedSheetText, "decodedSheetText");
-}
-
}
« no previous file with comments | « Source/core/loader/cache/CachedCSSStyleSheet.h ('k') | Source/core/loader/cache/CachedFont.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698