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

Unified Diff: third_party/WebKit/Source/modules/notifications/Notification.cpp

Issue 2300093002: Make //content responsible for generating notification Ids (Closed)
Patch Set: Make //content responsible for generating notification Ids Created 4 years, 3 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: third_party/WebKit/Source/modules/notifications/Notification.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.cpp b/third_party/WebKit/Source/modules/notifications/Notification.cpp
index 6d6763fdadfcd8045472cc3314e2e8a54423e1c6..3f1da4178486cb2c2526e068fff90aca80bde8b1 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.cpp
+++ b/third_party/WebKit/Source/modules/notifications/Notification.cpp
@@ -184,7 +184,7 @@ void Notification::close()
SecurityOrigin* origin = getExecutionContext()->getSecurityOrigin();
DCHECK(origin);
- notificationManager()->closePersistent(WebSecurityOrigin(origin), m_persistentId);
+ notificationManager()->closePersistent(WebSecurityOrigin(origin), m_data.tag, m_persistentId);
}
}

Powered by Google App Engine
This is Rietveld 408576698