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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformOperationsTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
index d934e320fc43a2033a4d5c920c2cd9256f3dfb00..afb296a724a3ad149470f5e472efd29dbf3bf4aa 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityPolicy.cpp
@@ -255,10 +255,10 @@ void SecurityPolicy::addOriginAccessWhitelistEntry(
result.storedValue->value = WTF::wrapUnique(new OriginAccessWhiteList);
OriginAccessWhiteList* list = result.storedValue->value.get();
- list->append(OriginAccessEntry(destinationProtocol, destinationDomain,
- allowDestinationSubdomains
- ? OriginAccessEntry::AllowSubdomains
- : OriginAccessEntry::DisallowSubdomains));
+ list->push_back(OriginAccessEntry(
+ destinationProtocol, destinationDomain,
+ allowDestinationSubdomains ? OriginAccessEntry::AllowSubdomains
+ : OriginAccessEntry::DisallowSubdomains));
}
void SecurityPolicy::removeOriginAccessWhitelistEntry(
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformOperationsTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698