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

Unified Diff: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp

Issue 2566403003: Migrate WTF::Vector::append() to ::push_back() [part 3 of N] (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
index 72c7dd034a897b9596198cf3e75bedd3309cb03a..846d53b83518d372792830c129e9244335a7060f 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.cpp
@@ -95,7 +95,7 @@ void ScopedStyleResolver::appendCSSStyleSheet(CSSStyleSheet& cssSheet) {
return;
unsigned index = m_authorStyleSheets.size();
- m_authorStyleSheets.append(&cssSheet);
+ m_authorStyleSheets.push_back(&cssSheet);
addKeyframeRules(*ruleSet);
addFontFaceRules(*ruleSet);
addTreeBoundaryCrossingRules(*ruleSet, &cssSheet, index);
@@ -114,7 +114,7 @@ void ScopedStyleResolver::appendActiveStyleSheets(
if (!activeIterator->second)
continue;
const RuleSet& ruleSet = *activeIterator->second;
- m_authorStyleSheets.append(sheet);
+ m_authorStyleSheets.push_back(sheet);
addKeyframeRules(ruleSet);
addFontFaceRules(ruleSet);
addTreeBoundaryCrossingRules(ruleSet, sheet, index++);
@@ -312,7 +312,7 @@ void ScopedStyleResolver::addTreeBoundaryCrossingRules(
treeScope());
}
- m_treeBoundaryCrossingRuleSet->append(
+ m_treeBoundaryCrossingRuleSet->push_back(
RuleSubSet::create(parentStyleSheet, sheetIndex, ruleSetForScope));
}

Powered by Google App Engine
This is Rietveld 408576698