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

Unified Diff: third_party/WebKit/Source/modules/crypto/CryptoKey.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: Created 3 years, 11 months 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/modules/crypto/CryptoKey.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp b/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
index bdca341b6758c72bee8a12397eac6a785f80cb7f..9c0c46f7123b6e4c5f1d146a5d3f16e988cc3d3f 100644
--- a/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
+++ b/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
@@ -158,7 +158,7 @@ Vector<String> CryptoKey::usages() const {
for (size_t i = 0; i < WTF_ARRAY_LENGTH(keyUsageMappings); ++i) {
WebCryptoKeyUsage usage = keyUsageMappings[i].value;
if (m_key.usages() & usage)
- result.append(keyUsageToString(usage));
+ result.push_back(keyUsageToString(usage));
}
return result;
}

Powered by Google App Engine
This is Rietveld 408576698