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

Unified Diff: third_party/WebKit/Source/core/css/FontFace.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/FontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp
index 2b35ed2e4cfb6c8d49f916ba9eb3f2f26bb08fe0..e0ef7ae1e2e5abff0d208cc0a5dff7e4db46ce4a 100644
--- a/third_party/WebKit/Source/core/css/FontFace.cpp
+++ b/third_party/WebKit/Source/core/css/FontFace.cpp
@@ -413,7 +413,7 @@ void FontFace::addCallback(LoadFontCallback* callback) {
else if (m_status == Error)
callback->notifyError(this);
else
- m_callbacks.append(callback);
+ m_callbacks.push_back(callback);
}
void FontFace::loadInternal(ExecutionContext* context) {
@@ -563,7 +563,7 @@ static CSSFontFace* createCSSFontFace(FontFace* fontFace,
for (unsigned i = 0; i < numRanges; i++) {
const CSSUnicodeRangeValue& range =
toCSSUnicodeRangeValue(rangeList->item(i));
- ranges.append(UnicodeRange(range.from(), range.to()));
+ ranges.push_back(UnicodeRange(range.from(), range.to()));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/css/ElementRuleCollector.cpp ('k') | third_party/WebKit/Source/core/css/FontFaceSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698