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, 4 insertions, 1 deletions
diff --git a/WebKit/chromium/src/NotificationPresenterImpl.cpp b/WebKit/chromium/src/NotificationPresenterImpl.cpp
index dca1856..c928c91 100644
--- a/WebKit/chromium/src/NotificationPresenterImpl.cpp
+++ b/WebKit/chromium/src/NotificationPresenterImpl.cpp
@@ -88,7 +88,10 @@ void NotificationPresenterImpl::cancel(Notification* notification)
void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification)
{
- m_presenter->objectDestroyed(PassRefPtr<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));
}
NotificationPresenter::Permission NotificationPresenterImpl::checkPermission(const KURL& sourceURL)