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

Unified Diff: third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.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/notifications/ServiceWorkerRegistrationNotifications.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp b/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
index c213a8916411d292d8ffcc041334b608e08e8bcd..84dbbf26ad56759f203e66cdac8b09a6b80f834a 100644
--- a/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
+++ b/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
@@ -41,7 +41,7 @@ class NotificationArray {
HeapVector<Member<Notification>> notifications;
for (const WebPersistentNotificationInfo& notificationInfo :
notificationInfos)
- notifications.append(Notification::create(
+ notifications.push_back(Notification::create(
resolver->getExecutionContext(), notificationInfo.notificationId,
notificationInfo.data, true /* showing */));

Powered by Google App Engine
This is Rietveld 408576698