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

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: Rebase 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/NavigatorWebMIDI.h
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.h b/Source/modules/webmidi/NavigatorWebMIDI.h
index 0cdba7ed5d6a0cbe64ab134be520b01515333deb..e9e3bd8fbe8744e78edce0e7c36ed8445c017309 100644
--- a/Source/modules/webmidi/NavigatorWebMIDI.h
+++ b/Source/modules/webmidi/NavigatorWebMIDI.h
@@ -47,8 +47,8 @@ public:
virtual ~NavigatorWebMIDI();
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* visitor) OVERRIDE { WillBeHeapSupplement<Navigator>::trace(visitor); }

Powered by Google App Engine
This is Rietveld 408576698