Index: third_party/WebKit/Source/modules/webmidi/MIDIOutput.h |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h |
index ac92865cb4b28898e2bf79e363b25b74731e9563..7fae7699b8d1ce59c8291658f2ff44074505f141 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.h |
@@ -32,6 +32,7 @@ |
#define MIDIOutput_h |
#include "core/dom/DOMTypedArray.h" |
+#include "core/dom/NotShared.h" |
#include "modules/webmidi/MIDIPort.h" |
namespace blink { |
@@ -52,11 +53,11 @@ class MIDIOutput final : public MIDIPort { |
midi::mojom::PortState); |
~MIDIOutput() override; |
- void send(DOMUint8Array*, double timestamp, ExceptionState&); |
+ void send(const NotShared<DOMUint8Array>&, double timestamp, ExceptionState&); |
void send(Vector<unsigned>, double timestamp, ExceptionState&); |
// send() without optional |timestamp|. |
- void send(DOMUint8Array*, ExceptionState&); |
+ void send(const NotShared<DOMUint8Array>&, ExceptionState&); |
void send(Vector<unsigned>, ExceptionState&); |
DECLARE_VIRTUAL_TRACE(); |