Index: Source/modules/webmidi/MIDIInputMap.cpp |
diff --git a/Source/modules/webmidi/MIDIInputMap.cpp b/Source/modules/webmidi/MIDIInputMap.cpp |
index f6c72062e1992ff957d8ae7bf7b21174dbaa12fa..83346686fd3b70be53bd7cfb32dc578b02405b9e 100644 |
--- a/Source/modules/webmidi/MIDIInputMap.cpp |
+++ b/Source/modules/webmidi/MIDIInputMap.cpp |
@@ -5,7 +5,6 @@ |
#include "config.h" |
#include "modules/webmidi/MIDIInputMap.h" |
-#include "bindings/core/v8/ScriptState.h" |
#include "bindings/modules/v8/V8MIDIInput.h" |
namespace blink { |
@@ -15,13 +14,5 @@ MIDIInputMap::MIDIInputMap(const HeapHashMap<String, Member<MIDIInput>> map) |
{ |
} |
-ScriptValue MIDIInputMap::getForBinding(ScriptState* scriptState, const String& id) |
-{ |
- MIDIInput* result = get(id); |
- if (result) |
- return ScriptValue(scriptState, toV8(result, scriptState->context()->Global(), scriptState->isolate())); |
- return ScriptValue(scriptState, v8::Undefined(scriptState->isolate())); |
-} |
- |
} // namespace blink |