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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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 75705784223a12196359d4c6b1b8bc99aaf7cf25..7d36c9af5e07f09c3cfc64c5df26f54b7b43b8f1 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.cpp
+++ b/third_party/WebKit/Source/modules/notifications/Notification.cpp
@@ -374,7 +374,7 @@ const AtomicString& Notification::interfaceName() const {
return EventTargetNames::Notification;
}
-void Notification::stop() {
+void Notification::contextDestroyed() {
notificationManager()->notifyDelegateDestroyed(this);
m_state = State::Closed;

Powered by Google App Engine
This is Rietveld 408576698