summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/NotificationPresenterImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/NotificationPresenterImpl.cpp')
-rw-r--r--WebKit/chromium/src/NotificationPresenterImpl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/WebKit/chromium/src/NotificationPresenterImpl.cpp b/WebKit/chromium/src/NotificationPresenterImpl.cpp
index c928c91..dca1856 100644
--- a/WebKit/chromium/src/NotificationPresenterImpl.cpp
+++ b/WebKit/chromium/src/NotificationPresenterImpl.cpp
@@ -88,10 +88,7 @@ void NotificationPresenterImpl::cancel(Notification* notification)
void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification)
{
- // TODO(pkasting): We cannot ref an object that's being destroyed. Either
- // this function needs to be called earlier than in ~Notification(), or it
- // needs to not ref this object.
- //m_presenter->objectDestroyed(PassRefPtr<Notification>(notification));
+ m_presenter->objectDestroyed(PassRefPtr<Notification>(notification));
}
NotificationPresenter::Permission NotificationPresenterImpl::checkPermission(const KURL& sourceURL)