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

Unified Diff: third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp

Issue 2574773002: Migrate WTF::Vector::append() to ::push_back() [part 4 of N] (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/dom/TouchList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
index f25b2d62a3acf2f810fa14384198e67424fd8dd2..3359f3306133a8370a5618e72e35bbbb8aa803e1 100644
--- a/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp
@@ -53,7 +53,7 @@ void StyleSheetCollection::swapSheetsForSheetList(
}
void StyleSheetCollection::appendActiveStyleSheet(CSSStyleSheet* sheet) {
- m_activeAuthorStyleSheets.append(sheet);
+ m_activeAuthorStyleSheets.push_back(sheet);
}
void StyleSheetCollection::appendActiveStyleSheets(
@@ -64,12 +64,12 @@ void StyleSheetCollection::appendActiveStyleSheets(
void StyleSheetCollection::appendActiveStyleSheets(
const HeapVector<TraceWrapperMember<CSSStyleSheet>>& sheets) {
for (CSSStyleSheet* sheet : sheets) {
- m_activeAuthorStyleSheets.append(sheet);
+ m_activeAuthorStyleSheets.push_back(sheet);
}
}
void StyleSheetCollection::appendSheetForList(StyleSheet* sheet) {
- m_styleSheetsForStyleSheetList.append(
+ m_styleSheetsForStyleSheetList.push_back(
TraceWrapperMember<StyleSheet>(this, sheet));
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.cpp ('k') | third_party/WebKit/Source/core/dom/TouchList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698