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

Unified Diff: Source/core/css/StyleSheetContents.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/css/StyleSheetContents.h ('k') | Source/core/css/WebKitCSSArrayFunctionValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleSheetContents.cpp
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
index ce46f174ff9573615da9fd6212e5e93aeeea903d..345c879dcb42f2a7948e2c136789e134611afbe9 100644
--- a/Source/core/css/StyleSheetContents.cpp
+++ b/Source/core/css/StyleSheetContents.cpp
@@ -32,10 +32,7 @@
#include "StylePropertySet.h"
#include "StyleRule.h"
#include "StyleRuleImport.h"
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/Deque.h>
-#include <wtf/MemoryInstrumentationHashMap.h>
-#include <wtf/MemoryInstrumentationVector.h>
namespace WebCore {
@@ -507,17 +504,4 @@ void StyleSheetContents::shrinkToFit()
m_childRules.shrinkToFit();
}
-void StyleSheetContents::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_ownerRule, "ownerRule");
- info.addMember(m_originalURL, "originalURL");
- info.addMember(m_encodingFromCharsetRule, "encodingFromCharsetRule");
- info.addMember(m_importRules, "importRules");
- info.addMember(m_childRules, "childRules");
- info.addMember(m_namespaces, "namespaces");
- info.addMember(m_parserContext, "parserContext");
- info.addMember(m_clients, "clients");
-}
-
}
« no previous file with comments | « Source/core/css/StyleSheetContents.h ('k') | Source/core/css/WebKitCSSArrayFunctionValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698