Index: third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
index bf252c0563dd5c927bf3d8a363bb51796aee6cda..7fbd0f6ba277ef15dd0599cead16daac4cf00d15 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl |
@@ -30,9 +30,12 @@ |
// http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEvent |
+// TODO(toyoshim): Remove ConstructorCallWith=ExecutionContext and receivedTime. |
+// See https://github.com/WebAudio/web-midi-api/issues/145 and crbug.com/599335. |
[ |
Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict), |
+ ConstructorCallWith=ExecutionContext, |
] interface MIDIMessageEvent : Event { |
- readonly attribute double receivedTime; |
+ [DeprecateAs=MIDIMessageEventReceivedTime] readonly attribute double receivedTime; |
readonly attribute Uint8Array data; |
}; |