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

Unified Diff: Source/core/css/resolver/StyleResolver.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
Index: Source/core/css/resolver/StyleResolver.h
diff --git a/Source/core/css/resolver/StyleResolver.h b/Source/core/css/resolver/StyleResolver.h
index d7f2a13594a6e61adf1f45945a3d9f4eaf4a2b56..07290b93b09713f07b1d8b86dfeb0b8f6d5f9e94 100644
--- a/Source/core/css/resolver/StyleResolver.h
+++ b/Source/core/css/resolver/StyleResolver.h
@@ -71,7 +71,7 @@ class StyleRuleKeyframes;
class StyleRulePage;
class ViewportStyleResolver;
-struct MatchResult;
+class MatchResult;
enum StyleSharingBehavior {
AllowStyleSharing,
@@ -269,7 +269,7 @@ private:
template <StyleApplicationPass pass>
void applyAnimatedProperties(StyleResolverState&, const AnimationEffect::CompositableValueMap&);
void matchPageRules(MatchResult&, RuleSet*, bool isLeftPage, bool isFirstPage, const String& pageName);
- void matchPageRulesForList(Vector<StyleRulePage*>& matchedRules, const Vector<StyleRulePage*>&, bool isLeftPage, bool isFirstPage, const String& pageName);
+ void matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage> >&, bool isLeftPage, bool isFirstPage, const String& pageName);
void collectViewportRules();
Settings* documentSettings() { return m_document.settings(); }

Powered by Google App Engine
This is Rietveld 408576698