| Index: Source/modules/notifications/Notification.cpp
|
| diff --git a/Source/modules/notifications/Notification.cpp b/Source/modules/notifications/Notification.cpp
|
| index 0a8cf69dae08118ca53c7ea87a16e0f59bf85c07..1ae79f16e69b4af63edbbd9a5138601a727f6436 100644
|
| --- a/Source/modules/notifications/Notification.cpp
|
| +++ b/Source/modules/notifications/Notification.cpp
|
| @@ -169,7 +169,11 @@ void Notification::close()
|
| notificationManager()->close(this);
|
| } else {
|
| m_state = NotificationStateClosed;
|
| - notificationManager()->closePersistent(m_persistentId);
|
| +
|
| + SecurityOrigin* origin = executionContext()->securityOrigin();
|
| + ASSERT(origin);
|
| +
|
| + notificationManager()->closePersistent(WebSerializedOrigin(*origin), m_persistentId);
|
| }
|
| }
|
|
|
|
|