Index: Source/core/css/RuleSet.cpp |
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp |
index 7517de24e4f1f755c7defd18100f8a213102cc7e..cf5df1c6f080ee5abb4343ab57aeeb2cd415ec47 100644 |
--- a/Source/core/css/RuleSet.cpp |
+++ b/Source/core/css/RuleSet.cpp |
@@ -124,7 +124,7 @@ RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, A |
void RuleSet::addToRuleSet(const AtomicString& key, PendingRuleMap& map, const RuleData& ruleData) |
{ |
- OwnPtrWillBeMember<WillBeHeapLinkedStack<RuleData> >& rules = map.add(key, nullptr).storedValue->value; |
+ OwnPtrWillBeMember<WillBeHeapLinkedStack<RuleData>>& rules = map.add(key, nullptr).storedValue->value; |
if (!rules) |
rules = adoptPtrWillBeNoop(new WillBeHeapLinkedStack<RuleData>); |
rules->push(ruleData); |
@@ -253,7 +253,7 @@ void RuleSet::addKeyframesRule(StyleRuleKeyframes* rule) |
m_keyframesRules.append(rule); |
} |
-void RuleSet::addChildRules(const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >& rules, const MediaQueryEvaluator& medium, AddRuleFlags addRuleFlags) |
+void RuleSet::addChildRules(const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase>>& rules, const MediaQueryEvaluator& medium, AddRuleFlags addRuleFlags) |
{ |
for (unsigned i = 0; i < rules.size(); ++i) { |
StyleRuleBase* rule = rules[i].get(); |
@@ -295,7 +295,7 @@ void RuleSet::addRulesFromSheet(StyleSheetContents* sheet, const MediaQueryEvalu |
ASSERT(sheet); |
- const WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport> >& importRules = sheet->importRules(); |
+ const WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport>>& importRules = sheet->importRules(); |
for (unsigned i = 0; i < importRules.size(); ++i) { |
StyleRuleImport* importRule = importRules[i].get(); |
if (importRule->styleSheet() && (!importRule->mediaQueries() || medium.eval(importRule->mediaQueries(), &m_viewportDependentMediaQueryResults))) |
@@ -314,7 +314,7 @@ void RuleSet::addStyleRule(StyleRule* rule, AddRuleFlags addRuleFlags) |
void RuleSet::compactPendingRules(PendingRuleMap& pendingMap, CompactRuleMap& compactMap) |
{ |
for (auto& item : pendingMap) { |
- OwnPtrWillBeRawPtr<WillBeHeapLinkedStack<RuleData> > pendingRules = item.value.release(); |
+ OwnPtrWillBeRawPtr<WillBeHeapLinkedStack<RuleData>> pendingRules = item.value.release(); |
CompactRuleMap::ValueType* compactRules = compactMap.add(item.key, nullptr).storedValue; |
WillBeHeapTerminatedArrayBuilder<RuleData> builder(compactRules->value.release()); |