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

Unified Diff: Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp

Issue 1321453007: Some random Web Notification cleanups (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo fix Created 5 years, 4 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: Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
diff --git a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
index 3fc379c700c70e50b8718736ecdbc285d3aea82f..d916a0503ac76eaef6352b86f9d4853b8c0167e6 100644
--- a/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
+++ b/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp
@@ -13,12 +13,11 @@
#include "modules/notifications/Notification.h"
#include "modules/notifications/NotificationData.h"
#include "modules/notifications/NotificationOptions.h"
+#include "modules/serviceworkers/ServiceWorkerRegistration.h"
#include "public/platform/Platform.h"
#include "public/platform/WebSecurityOrigin.h"
#include "public/platform/modules/notifications/WebNotificationData.h"
#include "public/platform/modules/notifications/WebNotificationManager.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
namespace blink {
namespace {
@@ -34,6 +33,7 @@ public:
HeapVector<Member<Notification>> notifications;
for (const WebPersistentNotificationInfo& notificationInfo : notificationInfos)
notifications.append(Notification::create(resolver->executionContext(), notificationInfo.persistentId, notificationInfo.data));
+
return notifications;
}

Powered by Google App Engine
This is Rietveld 408576698