| Index: third_party/WebKit/Source/core/css/PageRuleCollector.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/PageRuleCollector.cpp b/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
|
| index da1a6e765fcfa50de6826d86c768bf11fc9f6b8a..cbcbb504c337c976496c0d6878dad41a7d43984d 100644
|
| --- a/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
|
| +++ b/third_party/WebKit/Source/core/css/PageRuleCollector.cpp
|
| @@ -73,7 +73,7 @@ void PageRuleCollector::matchPageRules(RuleSet* rules)
|
| return;
|
|
|
| rules->compactRulesIfNeeded();
|
| - WillBeHeapVector<RawPtrWillBeMember<StyleRulePage>> matchedPageRules;
|
| + HeapVector<Member<StyleRulePage>> matchedPageRules;
|
| matchPageRulesForList(matchedPageRules, rules->pageRules(), m_isLeftPage, m_isFirstPage, m_pageName);
|
| if (matchedPageRules.isEmpty())
|
| return;
|
| @@ -104,7 +104,7 @@ static bool checkPageSelectorComponents(const CSSSelector* selector, bool isLeft
|
| return true;
|
| }
|
|
|
| -void PageRuleCollector::matchPageRulesForList(WillBeHeapVector<RawPtrWillBeMember<StyleRulePage>>& matchedRules, const WillBeHeapVector<RawPtrWillBeMember<StyleRulePage>>& rules, bool isLeftPage, bool isFirstPage, const String& pageName)
|
| +void PageRuleCollector::matchPageRulesForList(HeapVector<Member<StyleRulePage>>& matchedRules, const HeapVector<Member<StyleRulePage>>& rules, bool isLeftPage, bool isFirstPage, const String& pageName)
|
| {
|
| for (unsigned i = 0; i < rules.size(); ++i) {
|
| StyleRulePage* rule = rules[i];
|
|
|