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

Unified Diff: Source/core/css/resolver/MatchResult.h

Issue 180003002: Consistently use on-heap collections for StyleRuleBase descendants. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/css/resolver/MatchResult.h
diff --git a/Source/core/css/resolver/MatchResult.h b/Source/core/css/resolver/MatchResult.h
index bbcae30bdb5ea9293a6b1aa2d712591fff44cb33..5a1bcb0f5938b084b3ad11b23560c300e382dda1 100644
--- a/Source/core/css/resolver/MatchResult.h
+++ b/Source/core/css/resolver/MatchResult.h
@@ -70,7 +70,7 @@ struct MatchedProperties {
struct MatchResult {
Mads Ager (chromium) 2014/02/25 19:35:58 STACK_ALLOCATED? (If Ian's change has landed?)
Vyacheslav Egorov (Chromium) 2014/02/26 13:12:24 Done.
MatchResult() : isCacheable(true) { }
Vector<MatchedProperties, 64> matchedProperties;
- Vector<StyleRule*, 64> matchedRules;
+ WillBeHeapVector<StyleRule*, 64> matchedRules;
Mads Ager (chromium) 2014/02/25 19:35:58 WillBeHeapVector<RawPtrWillBeMember<StyleRule>, 64
Vyacheslav Egorov (Chromium) 2014/02/26 13:12:24 Done.
MatchRanges ranges;
bool isCacheable;

Powered by Google App Engine
This is Rietveld 408576698