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

Unified Diff: Source/web/NotificationPresenterImpl.h

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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/modules/webmidi/MIDISuccessCallback.h ('k') | Source/web/NotificationPresenterImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NotificationPresenterImpl.h
diff --git a/Source/web/NotificationPresenterImpl.h b/Source/web/NotificationPresenterImpl.h
index e47223599d94585d0e09cb1b58ae7e20c0a76926..d1bbb7b1a7fcef159d2d819638be792581f60ddb 100644
--- a/Source/web/NotificationPresenterImpl.h
+++ b/Source/web/NotificationPresenterImpl.h
@@ -57,7 +57,7 @@ public:
#if ENABLE(LEGACY_NOTIFICATIONS)
virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassRefPtr<WebCore::VoidCallback>);
#endif
- virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassRefPtr<WebCore::NotificationPermissionCallback>);
+ virtual void requestPermission(WebCore::ExecutionContext*, WTF::PassOwnPtr<WebCore::NotificationPermissionCallback>);
virtual void cancelRequestsForPermission(WebCore::ExecutionContext*) { }
private:
« no previous file with comments | « Source/modules/webmidi/MIDISuccessCallback.h ('k') | Source/web/NotificationPresenterImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698