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

Unified Diff: Source/modules/notifications/NotificationPermissionCallback.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/notifications/NotificationClient.h ('k') | Source/modules/quota/StorageErrorCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/NotificationPermissionCallback.h
diff --git a/Source/modules/notifications/NotificationPermissionCallback.h b/Source/modules/notifications/NotificationPermissionCallback.h
index 8b95c2d8cd8eae4f5446edcd2f48926507953f29..12128468d66fc63140c4c571f0c8e57c0082cba0 100644
--- a/Source/modules/notifications/NotificationPermissionCallback.h
+++ b/Source/modules/notifications/NotificationPermissionCallback.h
@@ -27,11 +27,10 @@
#define NotificationPermissionCallback_h
#include "wtf/Forward.h"
-#include "wtf/RefCounted.h"
namespace WebCore {
-class NotificationPermissionCallback : public RefCounted<NotificationPermissionCallback> {
+class NotificationPermissionCallback {
public:
virtual ~NotificationPermissionCallback() { }
virtual bool handleEvent(const String& permission) = 0;
« no previous file with comments | « Source/modules/notifications/NotificationClient.h ('k') | Source/modules/quota/StorageErrorCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698