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

Unified Diff: Source/core/css/CSSRuleList.h

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/CSSRule.cpp ('k') | Source/core/css/CSSRuleList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSRuleList.h
diff --git a/Source/core/css/CSSRuleList.h b/Source/core/css/CSSRuleList.h
index 35e66565c78b08eda591cac25e84277ba04877f6..0136353fd60dfb927aac576662f4da0b41642313 100644
--- a/Source/core/css/CSSRuleList.h
+++ b/Source/core/css/CSSRuleList.h
@@ -22,7 +22,6 @@
#ifndef CSSRuleList_h
#define CSSRuleList_h
-#include "WebCoreMemoryInstrumentation.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
@@ -46,8 +45,6 @@ public:
virtual CSSRule* item(unsigned index) const = 0;
virtual CSSStyleSheet* styleSheet() const = 0;
-
- virtual void reportMemoryUsage(MemoryObjectInfo*) const = 0;
protected:
CSSRuleList();
@@ -64,8 +61,6 @@ public:
virtual CSSStyleSheet* styleSheet() const { return 0; }
- virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE;
-
private:
StaticCSSRuleList();
~StaticCSSRuleList();
@@ -86,12 +81,6 @@ public:
virtual void ref() { m_rule->ref(); }
virtual void deref() { m_rule->deref(); }
- virtual void reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const OVERRIDE
- {
- MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
- info.addMember(m_rule, "rule");
- }
-
private:
virtual unsigned length() const { return m_rule->length(); }
virtual CSSRule* item(unsigned index) const { return m_rule->item(index); }
« no previous file with comments | « Source/core/css/CSSRule.cpp ('k') | Source/core/css/CSSRuleList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698