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/ElementRuleCollector.h

Issue 180003002: Consistently use on-heap collections for StyleRuleBase descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed reviewers comments Created 6 years, 10 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 | « no previous file | Source/core/css/PageRuleCollector.h » ('j') | Source/core/css/StyleSheetContents.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/ElementRuleCollector.h
diff --git a/Source/core/css/ElementRuleCollector.h b/Source/core/css/ElementRuleCollector.h
index dbab0feef00be3b72494b140e7f6b72d588ab131..6c0343a96ae54e2da988393911cb2beaed534e5a 100644
--- a/Source/core/css/ElementRuleCollector.h
+++ b/Source/core/css/ElementRuleCollector.h
@@ -75,10 +75,11 @@ private:
const CSSStyleSheet* m_parentStyleSheet;
};
+// FIXME: oilpan: when transition types are gone this class can be replaced with HeapVector.
class StyleRuleList : public RefCounted<StyleRuleList> {
public:
static PassRefPtr<StyleRuleList> create() { return adoptRef(new StyleRuleList()); }
- Vector<StyleRule*> m_list;
+ WillBePersistentHeapVector<RawPtrWillBeMember<StyleRule> > m_list;
};
// ElementRuleCollector is designed to be used as a stack object.
« no previous file with comments | « no previous file | Source/core/css/PageRuleCollector.h » ('j') | Source/core/css/StyleSheetContents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698