| 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..fdeed2a7e13374376aadae0d2f67e2c8b651ac45 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/MaybeShared.h"
|
| #include "modules/webmidi/MIDIPort.h"
|
|
|
| namespace blink {
|
| @@ -52,11 +53,13 @@ class MIDIOutput final : public MIDIPort {
|
| midi::mojom::PortState);
|
| ~MIDIOutput() override;
|
|
|
| - void send(DOMUint8Array*, double timestamp, ExceptionState&);
|
| + void send(const MaybeShared<DOMUint8Array>&,
|
| + double timestamp,
|
| + ExceptionState&);
|
| void send(Vector<unsigned>, double timestamp, ExceptionState&);
|
|
|
| // send() without optional |timestamp|.
|
| - void send(DOMUint8Array*, ExceptionState&);
|
| + void send(const MaybeShared<DOMUint8Array>&, ExceptionState&);
|
| void send(Vector<unsigned>, ExceptionState&);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|