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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.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/serviceworkers/ServiceWorkerContainerTest.cpp
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
index beb0093a88123be7d8f633fa9af90b986b1d8daa..7d5865324e8dc62b5689f4fd7a5c45a4a61f621f 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
@@ -294,7 +294,7 @@ class StubWebServiceWorkerProvider {
m_owner.m_registerCallCount++;
m_owner.m_registerScope = pattern;
m_owner.m_registerScriptURL = scriptURL;
- m_registrationCallbacksToDelete.append(std::move(callbacks));
+ m_registrationCallbacksToDelete.push_back(std::move(callbacks));
}
void getRegistration(
@@ -303,7 +303,7 @@ class StubWebServiceWorkerProvider {
override {
m_owner.m_getRegistrationCallCount++;
m_owner.m_getRegistrationURL = documentURL;
- m_getRegistrationCallbacksToDelete.append(std::move(callbacks));
+ m_getRegistrationCallbacksToDelete.push_back(std::move(callbacks));
}
bool validateScopeAndScriptURL(const WebURL& scope,

Powered by Google App Engine
This is Rietveld 408576698