Index: content/child/notifications/notification_manager.cc |
diff --git a/content/child/notifications/notification_manager.cc b/content/child/notifications/notification_manager.cc |
index cccece9ab427f168892c70e95d9464961a37106e..40ad89efb20115ddfb4fdba4a48e4f982cad2d38 100644 |
--- a/content/child/notifications/notification_manager.cc |
+++ b/content/child/notifications/notification_manager.cc |
@@ -134,11 +134,18 @@ void NotificationManager::close(blink::WebNotificationDelegate* delegate) { |
} |
void NotificationManager::closePersistent( |
+ const blink::WebSerializedOrigin& origin, |
const blink::WebString& persistent_notification_id) { |
thread_safe_sender_->Send(new PlatformNotificationHostMsg_ClosePersistent( |
+ GURL(origin.string()), |
base::UTF16ToUTF8(persistent_notification_id))); |
} |
+void NotificationManager::closePersistent( |
+ const blink::WebString& persistent_notification_id) { |
+ closePersistent(blink::WebSerializedOrigin(), persistent_notification_id); |
+} |
+ |
void NotificationManager::notifyDelegateDestroyed( |
blink::WebNotificationDelegate* delegate) { |
if (pending_notifications_.CancelPageNotificationFetches(delegate)) |