Index: third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h |
diff --git a/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h b/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h |
index 445c3e6ada9b2d1d7c82c86b56f327c13c86e664..53c3b55aae7dcb93866d38745e07749bd1c39588 100644 |
--- a/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h |
+++ b/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.h |
@@ -14,8 +14,9 @@ |
#include "platform/heap/Visitor.h" |
#include "public/platform/modules/notifications/WebNotificationManager.h" |
#include "wtf/Noncopyable.h" |
+#include "wtf/OwnPtr.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/PassRefPtr.h" |
-#include <memory> |
namespace blink { |
@@ -47,8 +48,8 @@ private: |
static const char* supplementName(); |
static ServiceWorkerRegistrationNotifications& from(ExecutionContext*, ServiceWorkerRegistration&); |
- void prepareShow(const WebNotificationData&, std::unique_ptr<WebNotificationShowCallbacks>); |
- void didLoadResources(PassRefPtr<SecurityOrigin>, const WebNotificationData&, std::unique_ptr<WebNotificationShowCallbacks>, NotificationResourcesLoader*); |
+ void prepareShow(const WebNotificationData&, PassOwnPtr<WebNotificationShowCallbacks>); |
+ void didLoadResources(PassRefPtr<SecurityOrigin>, const WebNotificationData&, PassOwnPtr<WebNotificationShowCallbacks>, NotificationResourcesLoader*); |
Member<ServiceWorkerRegistration> m_registration; |
HeapHashSet<Member<NotificationResourcesLoader>> m_loaders; |