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

Unified Diff: Source/modules/webmidi/MIDIErrorCallback.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/MIDIAccessPromise.cpp ('k') | Source/modules/webmidi/MIDISuccessCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIErrorCallback.h
diff --git a/Source/modules/webmidi/MIDIErrorCallback.h b/Source/modules/webmidi/MIDIErrorCallback.h
index 2684f7bd58b9d03d854c4da09a60386f00039cd7..1264696c1453937973f0ee8440e9c7864a0d3e1f 100644
--- a/Source/modules/webmidi/MIDIErrorCallback.h
+++ b/Source/modules/webmidi/MIDIErrorCallback.h
@@ -31,13 +31,11 @@
#ifndef MIDIErrorCallback_h
#define MIDIErrorCallback_h
-#include "wtf/RefCounted.h"
-
namespace WebCore {
class DOMError;
-class MIDIErrorCallback : public RefCounted<MIDIErrorCallback> {
+class MIDIErrorCallback {
public:
virtual ~MIDIErrorCallback() { }
virtual bool handleEvent(DOMError*) = 0;
« no previous file with comments | « Source/modules/webmidi/MIDIAccessPromise.cpp ('k') | Source/modules/webmidi/MIDISuccessCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698