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

Unified Diff: third_party/WebKit/Source/core/css/FontFaceSet.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
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/MediaList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/FontFaceSet.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
index f50b821f6b9fad50b507d5c460851f06e8e8bb67..0be1e5fce9b81441a5415cbc8c0afca1ffc54465 100644
--- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
+++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
@@ -206,13 +206,13 @@ void FontFaceSet::beginFontLoading(FontFace* fontFace) {
void FontFaceSet::notifyLoaded(FontFace* fontFace) {
m_histogram.updateStatus(fontFace);
- m_loadedFonts.append(fontFace);
+ m_loadedFonts.push_back(fontFace);
removeFromLoadingFonts(fontFace);
}
void FontFaceSet::notifyError(FontFace* fontFace) {
m_histogram.updateStatus(fontFace);
- m_failedFonts.append(fontFace);
+ m_failedFonts.push_back(fontFace);
removeFromLoadingFonts(fontFace);
}
@@ -536,9 +536,9 @@ FontFaceSetIterable::IterationSource* FontFaceSet::startIteration(
fontFaces.reserveInitialCapacity(cssConnectedFaces.size() +
m_nonCSSConnectedFaces.size());
for (const auto& fontFace : cssConnectedFaces)
- fontFaces.append(fontFace);
+ fontFaces.push_back(fontFace);
for (const auto& fontFace : m_nonCSSConnectedFaces)
- fontFaces.append(fontFace);
+ fontFaces.push_back(fontFace);
}
return new IterationSource(fontFaces);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/MediaList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698