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

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

Issue 547383004: WebMIDI: Add MIDIOptions dictionary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add assertion 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
« no previous file with comments | « Source/modules/webmidi/MIDIOptions.idl ('k') | Source/modules/webmidi/NavigatorWebMIDI.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/NavigatorWebMIDI.h
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h
index 8fdbbd743eb7464f4a2b7b2fe440ce618c834fe4..a5e0d89e53bfc07737b2214d41f7a1e75e31d81d 100644
--- a/Source/modules/webmidi/NavigatorWebMIDI.h
+++ b/Source/modules/webmidi/NavigatorWebMIDI.h
@@ -47,8 +47,8 @@ class NavigatorWebMIDI FINAL : public NoBaseWillBeGarbageCollected<NavigatorWebM
public:
static NavigatorWebMIDI& from(Navigator&);
- static ScriptPromise requestMIDIAccess(ScriptState*, Navigator&, const Dictionary&);
- ScriptPromise requestMIDIAccess(ScriptState*, const Dictionary&);
+ static ScriptPromise requestMIDIAccess(ScriptState*, Navigator&, const MIDIOptions*);
+ ScriptPromise requestMIDIAccess(ScriptState*, const MIDIOptions*);
virtual void trace(Visitor*) OVERRIDE;
« no previous file with comments | « Source/modules/webmidi/MIDIOptions.idl ('k') | Source/modules/webmidi/NavigatorWebMIDI.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698