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

Unified Diff: Source/web/NotificationPresenterImpl.cpp

Issue 329463004: Oilpan: remove RawPtr<> usage for WebNotification. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/web/WebNotification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NotificationPresenterImpl.cpp
diff --git a/Source/web/NotificationPresenterImpl.cpp b/Source/web/NotificationPresenterImpl.cpp
index ae8361577162e587efc8978ac17a861f44536848..63ea0098a99ecfb91f709e6bbe73e5565a5a3fa3 100644
--- a/Source/web/NotificationPresenterImpl.cpp
+++ b/Source/web/NotificationPresenterImpl.cpp
@@ -79,20 +79,20 @@ bool NotificationPresenterImpl::isInitialized()
bool NotificationPresenterImpl::show(Notification* notification)
{
- return m_presenter->show(RawPtr<Notification>(notification));
+ return m_presenter->show(notification);
}
void NotificationPresenterImpl::close(Notification* notification)
{
- m_presenter->close(RawPtr<Notification>(notification));
+ m_presenter->close(notification);
// FIXME: Remove the duplicated call to cancel() when Chromium updated to override close() instead.
- m_presenter->cancel(RawPtr<Notification>(notification));
+ m_presenter->cancel(notification);
}
void NotificationPresenterImpl::notificationObjectDestroyed(Notification* notification)
{
- m_presenter->objectDestroyed(RawPtr<Notification>(notification));
+ m_presenter->objectDestroyed(notification);
}
NotificationClient::Permission NotificationPresenterImpl::checkPermission(ExecutionContext* context)
« no previous file with comments | « no previous file | Source/web/WebNotification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698