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

Unified Diff: Source/core/css/StyleRule.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/StyleResolver.cpp ('k') | Source/core/css/StyleRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StyleRule.h
diff --git a/Source/core/css/StyleRule.h b/Source/core/css/StyleRule.h
index 7665b751854db125ffe4212dd2f3d65dcb364a57..88b7dc9c76c7592d549294ad3b540cba40304fd9 100644
--- a/Source/core/css/StyleRule.h
+++ b/Source/core/css/StyleRule.h
@@ -86,8 +86,6 @@ public:
PassRefPtr<CSSRule> createCSSOMWrapper(CSSStyleSheet* parentSheet = 0) const;
PassRefPtr<CSSRule> createCSSOMWrapper(CSSRule* parentRule) const;
- void reportMemoryUsage(MemoryObjectInfo*) const;
-
protected:
StyleRuleBase(Type type, signed sourceLine = 0) : m_type(type), m_sourceLine(sourceLine) { }
StyleRuleBase(const StyleRuleBase& o) : WTF::RefCountedBase(), m_type(o.m_type), m_sourceLine(o.m_sourceLine) { }
@@ -121,7 +119,6 @@ public:
PassRefPtr<StyleRule> copy() const { return adoptRef(new StyleRule(*this)); }
static unsigned averageSizeInBytes();
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
private:
StyleRule(int sourceLine);
@@ -144,7 +141,6 @@ public:
PassRefPtr<StyleRuleFontFace> copy() const { return adoptRef(new StyleRuleFontFace(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
private:
StyleRuleFontFace();
@@ -169,8 +165,6 @@ public:
PassRefPtr<StyleRulePage> copy() const { return adoptRef(new StyleRulePage(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
-
private:
StyleRulePage();
StyleRulePage(const StyleRulePage&);
@@ -185,8 +179,6 @@ public:
void wrapperInsertRule(unsigned, PassRefPtr<StyleRuleBase>);
void wrapperRemoveRule(unsigned);
-
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
protected:
StyleRuleGroup(Type, Vector<RefPtr<StyleRuleBase> >& adoptRule);
@@ -207,8 +199,6 @@ public:
PassRefPtr<StyleRuleMedia> copy() const { return adoptRef(new StyleRuleMedia(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
-
private:
StyleRuleMedia(PassRefPtr<MediaQuerySet>, Vector<RefPtr<StyleRuleBase> >& adoptRules);
StyleRuleMedia(const StyleRuleMedia&);
@@ -246,8 +236,6 @@ public:
PassRefPtr<StyleRuleRegion> copy() const { return adoptRef(new StyleRuleRegion(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
-
private:
StyleRuleRegion(Vector<OwnPtr<CSSParserSelector> >*, Vector<RefPtr<StyleRuleBase> >& adoptRules);
StyleRuleRegion(const StyleRuleRegion&);
@@ -283,8 +271,6 @@ public:
PassRefPtr<StyleRuleViewport> copy() const { return adoptRef(new StyleRuleViewport(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
-
private:
StyleRuleViewport();
StyleRuleViewport(const StyleRuleViewport&);
@@ -326,8 +312,6 @@ public:
PassRefPtr<StyleRuleFilter> copy() const { return adoptRef(new StyleRuleFilter(*this)); }
- void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
-
private:
StyleRuleFilter(const String&);
StyleRuleFilter(const StyleRuleFilter&);
« no previous file with comments | « Source/core/css/StyleResolver.cpp ('k') | Source/core/css/StyleRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698