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 c8cdd80d54ec9cc20e0e1125343a1133dd5bd41c..cd24f367518f57aa8fb1a38d13a686b23650bf72 100644 |
--- a/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp |
+++ b/third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp |
@@ -174,7 +174,7 @@ void ServiceWorkerRegistrationNotifications::PrepareShow( |
RefPtr<SecurityOrigin> origin = GetExecutionContext()->GetSecurityOrigin(); |
NotificationResourcesLoader* loader = new NotificationResourcesLoader( |
WTF::Bind(&ServiceWorkerRegistrationNotifications::DidLoadResources, |
- WrapWeakPersistent(this), origin.Release(), data, |
+ WrapWeakPersistent(this), std::move(origin), data, |
WTF::Passed(std::move(callbacks)))); |
loaders_.insert(loader); |
loader->Start(GetExecutionContext(), data); |