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

Unified Diff: Source/modules/webmidi/MIDIPortMap.h

Issue 555683003: MIDI{Input, Output}Map[Symbol.iterator]() should return entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months 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
Index: Source/modules/webmidi/MIDIPortMap.h
diff --git a/Source/modules/webmidi/MIDIPortMap.h b/Source/modules/webmidi/MIDIPortMap.h
index c70b50b71c9bc07b0058aaa91a6451938e236ab0..d0fd5faa8bf909c8c8ad75f4f13f10a2a1085807 100644
--- a/Source/modules/webmidi/MIDIPortMap.h
+++ b/Source/modules/webmidi/MIDIPortMap.h
@@ -29,7 +29,7 @@ public:
Iterator* values();
T* get(const String& key) const;
bool has(const String& key) const { return m_entries.contains(key); }
- Iterator* iterator(ScriptState*, ExceptionState&) { return values(); }
+ Iterator* iterator(ScriptState*, ExceptionState&) { return entries(); }
void trace(Visitor* visitor)
{
« LayoutTests/webmidi/requestmidiaccess.html ('K') | « LayoutTests/webmidi/send_messages.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698