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

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

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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.idl
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.idl b/Source/modules/webmidi/NavigatorWebMIDI.idl
index b2cc316db8701bcac941bc442e1358b0c0a6b9c3..6a275d5b26f621e546bf2cb9322d3e52a99b63d1 100644
--- a/Source/modules/webmidi/NavigatorWebMIDI.idl
+++ b/Source/modules/webmidi/NavigatorWebMIDI.idl
@@ -31,5 +31,5 @@
[
RuntimeEnabled=WebMIDI,
] partial interface Navigator {
- Promise requestMIDIAccess(optional Dictionary options);
+ [CallWith=ScriptState] Promise requestMIDIAccess(optional Dictionary options);
};
« Source/core/css/FontFaceSet.idl ('K') | « Source/modules/webmidi/NavigatorWebMIDI.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698