| Index: Source/modules/webmidi/MIDIInput.h
|
| diff --git a/Source/modules/webmidi/MIDIInput.h b/Source/modules/webmidi/MIDIInput.h
|
| index 4e7aff490d4b2931e3960bfd72f345c37f48e867..4337a28ce34112db66fe11126384207a84280ccd 100644
|
| --- a/Source/modules/webmidi/MIDIInput.h
|
| +++ b/Source/modules/webmidi/MIDIInput.h
|
| @@ -37,11 +37,10 @@
|
| namespace WebCore {
|
|
|
| class MIDIAccess;
|
| -class ExecutionContext;
|
|
|
| class MIDIInput FINAL : public MIDIPort {
|
| public:
|
| - static PassRefPtr<MIDIInput> create(MIDIAccess*, ExecutionContext*, const String& id, const String& manufacturer, const String& name, const String& version);
|
| + static PassRefPtr<MIDIInput> create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
|
| virtual ~MIDIInput() { }
|
|
|
| DEFINE_ATTRIBUTE_EVENT_LISTENER(midimessage);
|
| @@ -52,12 +51,8 @@ public:
|
| // |timeStamp| is a DOMHighResTimeStamp in the time coordinate system of performance.now().
|
| void didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp);
|
|
|
| - MIDIAccess* midiAccess() const { return m_access; }
|
| -
|
| private:
|
| - MIDIInput(MIDIAccess*, ExecutionContext*, const String& id, const String& manufacturer, const String& name, const String& version);
|
| -
|
| - MIDIAccess* m_access;
|
| + MIDIInput(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
|
| };
|
|
|
| typedef Vector<RefPtr<MIDIInput> > MIDIInputVector;
|
|
|