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

Unified Diff: Source/core/css/CSSStyleSheet.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/CSSStyleSheet.h ('k') | Source/core/css/CSSSupportsRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSStyleSheet.cpp
diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp
index f30ca6b380338749a2883f54770dd6f330d97046..006b3e30c7bc02fa3ebef5b26c6afa927b3c4b7d 100644
--- a/Source/core/css/CSSStyleSheet.cpp
+++ b/Source/core/css/CSSStyleSheet.cpp
@@ -37,8 +37,6 @@
#include "SecurityOrigin.h"
#include "StyleRule.h"
#include "StyleSheetContents.h"
-#include "WebCoreMemoryInstrumentation.h"
-#include <wtf/MemoryInstrumentationVector.h>
#include <wtf/text/StringBuilder.h>
namespace WebCore {
@@ -56,12 +54,6 @@ private:
virtual CSSStyleSheet* styleSheet() const { return m_styleSheet; }
- virtual void reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const OVERRIDE
- {
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_styleSheet, "styleSheet");
- }
-
CSSStyleSheet* m_styleSheet;
};
@@ -179,19 +171,6 @@ void CSSStyleSheet::reattachChildRuleCSSOMWrappers()
}
}
-void CSSStyleSheet::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
-{
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_contents, "contents");
- info.addMember(m_title, "title");
- info.addMember(m_mediaQueries, "mediaQueries");
- info.addMember(m_ownerNode, "ownerNode");
- info.addMember(m_ownerRule, "ownerRule");
- info.addMember(m_mediaCSSOMWrapper, "mediaCSSOMWrapper");
- info.addMember(m_childRuleCSSOMWrappers, "childRuleCSSOMWrappers");
- info.addMember(m_ruleListCSSOMWrapper, "ruleListCSSOMWrapper");
-}
-
void CSSStyleSheet::setDisabled(bool disabled)
{
if (disabled == m_isDisabled)
« no previous file with comments | « Source/core/css/CSSStyleSheet.h ('k') | Source/core/css/CSSSupportsRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698