Index: Source/modules/webmidi/MIDIErrorCallback.h |
diff --git a/Source/modules/webmidi/MIDIErrorCallback.h b/Source/modules/webmidi/MIDIErrorCallback.h |
index 3a0e41edbee99b7c447866ce544afa475c131c10..2684f7bd58b9d03d854c4da09a60386f00039cd7 100644 |
--- a/Source/modules/webmidi/MIDIErrorCallback.h |
+++ b/Source/modules/webmidi/MIDIErrorCallback.h |
@@ -31,21 +31,16 @@ |
#ifndef MIDIErrorCallback_h |
#define MIDIErrorCallback_h |
-#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
namespace WebCore { |
class DOMError; |
-class ScriptExecutionContext; |
class MIDIErrorCallback : public RefCounted<MIDIErrorCallback> { |
public: |
virtual ~MIDIErrorCallback() { } |
virtual bool handleEvent(DOMError*) = 0; |
- |
- // Helper to post callback task. |
- void scheduleCallback(ScriptExecutionContext*, PassRefPtr<DOMError>); |
}; |
} // namespace WebCore |