| Index: third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
|
| index 5cad114545104c6d0209d88e7c3e82dbe5956412..1f21d1af9b37795fdd0917687643a220f0b1a16e 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIOutput.cpp
|
| @@ -213,7 +213,7 @@ void MIDIOutput::send(Vector<unsigned> unsignedData, double timestamp, Exception
|
| if (timestamp == 0.0)
|
| timestamp = now(getExecutionContext());
|
|
|
| - RefPtr<DOMUint8Array> array = DOMUint8Array::create(unsignedData.size());
|
| + DOMUint8Array* array = DOMUint8Array::create(unsignedData.size());
|
| DOMUint8Array::ValueType* const arrayData = array->data();
|
| const uint32_t arrayLength = array->length();
|
|
|
| @@ -226,7 +226,7 @@ void MIDIOutput::send(Vector<unsigned> unsignedData, double timestamp, Exception
|
| arrayData[i] = unsignedData[i] & 0xff;
|
| }
|
|
|
| - send(array.get(), timestamp, exceptionState);
|
| + send(array, timestamp, exceptionState);
|
| }
|
|
|
| void MIDIOutput::send(DOMUint8Array* data, ExceptionState& exceptionState)
|
|
|