Index: Source/modules/webmidi/MIDIOutput.h |
diff --git a/Source/modules/webmidi/MIDIOutput.h b/Source/modules/webmidi/MIDIOutput.h |
index 83b0065859d4f12fa609a84f2b4659a5429c9141..76dc3fd9d2e6276aa288b4fc2175d728630aff68 100644 |
--- a/Source/modules/webmidi/MIDIOutput.h |
+++ b/Source/modules/webmidi/MIDIOutput.h |
@@ -39,11 +39,10 @@ namespace WebCore { |
class ExceptionState; |
class MIDIAccess; |
-class ExecutionContext; |
class MIDIOutput FINAL : public MIDIPort { |
public: |
- static PassRefPtr<MIDIOutput> create(MIDIAccess*, unsigned portIndex, ExecutionContext*, const String& id, const String& manufacturer, const String& name, const String& version); |
+ static PassRefPtr<MIDIOutput> create(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version); |
virtual ~MIDIOutput(); |
void send(Uint8Array*, double timestamp, ExceptionState&); |
@@ -53,12 +52,9 @@ public: |
void send(Uint8Array*, ExceptionState&); |
void send(Vector<unsigned>, ExceptionState&); |
- MIDIAccess* midiAccess() const { return m_access; } |
- |
private: |
- MIDIOutput(MIDIAccess*, unsigned portIndex, ExecutionContext*, const String& id, const String& manufacturer, const String& name, const String& version); |
+ MIDIOutput(MIDIAccess*, unsigned portIndex, const String& id, const String& manufacturer, const String& name, const String& version); |
- MIDIAccess* m_access; |
unsigned m_portIndex; |
}; |