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

Unified Diff: Source/modules/webmidi/MIDISuccessCallback.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/MIDIErrorCallback.h ('k') | Source/web/NotificationPresenterImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDISuccessCallback.h
diff --git a/Source/modules/webmidi/MIDISuccessCallback.h b/Source/modules/webmidi/MIDISuccessCallback.h
index 439421af857610789812d8cffe36dffcf73b14ff..ff37689d0f4d26cd1793eae5ce3ab263d4578156 100644
--- a/Source/modules/webmidi/MIDISuccessCallback.h
+++ b/Source/modules/webmidi/MIDISuccessCallback.h
@@ -32,13 +32,12 @@
#define MIDISuccessCallback_h
#include "modules/webmidi/MIDIOptions.h"
-#include "wtf/RefCounted.h"
namespace WebCore {
class MIDIAccess;
-class MIDISuccessCallback : public RefCounted<MIDISuccessCallback> {
+class MIDISuccessCallback {
public:
virtual ~MIDISuccessCallback() { }
virtual bool handleEvent(MIDIAccess*, bool) = 0;
« no previous file with comments | « Source/modules/webmidi/MIDIErrorCallback.h ('k') | Source/web/NotificationPresenterImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698