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

Unified Diff: Source/web/NotificationPermissionClientImpl.cpp

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/web/NotificationPermissionClientImpl.h ('k') | Source/web/StorageQuotaClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NotificationPermissionClientImpl.cpp
diff --git a/Source/web/NotificationPermissionClientImpl.cpp b/Source/web/NotificationPermissionClientImpl.cpp
index 3142600108c07fcaa3c315440f69834195375b6b..b4c318257bf4aaffcd9175b85931acaf61b07808 100644
--- a/Source/web/NotificationPermissionClientImpl.cpp
+++ b/Source/web/NotificationPermissionClientImpl.cpp
@@ -18,7 +18,7 @@ namespace {
class WebNotificationPermissionCallbackImpl : public WebNotificationPermissionCallback {
public:
- WebNotificationPermissionCallbackImpl(PassOwnPtrWillBeRawPtr<NotificationPermissionCallback> callback)
+ WebNotificationPermissionCallbackImpl(NotificationPermissionCallback* callback)
: m_callback(callback)
{
}
@@ -32,7 +32,7 @@ public:
}
private:
- OwnPtrWillBePersistent<NotificationPermissionCallback> m_callback;
+ Persistent<NotificationPermissionCallback> m_callback;
};
} // namespace
@@ -50,7 +50,7 @@ NotificationPermissionClientImpl::~NotificationPermissionClientImpl()
{
}
-void NotificationPermissionClientImpl::requestPermission(ExecutionContext* context, PassOwnPtrWillBeRawPtr<NotificationPermissionCallback> callback)
+void NotificationPermissionClientImpl::requestPermission(ExecutionContext* context, NotificationPermissionCallback* callback)
{
ASSERT(context && context->isDocument());
« no previous file with comments | « Source/web/NotificationPermissionClientImpl.h ('k') | Source/web/StorageQuotaClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698