| Index: third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| index b18e8c2c3c1ffa4188d15fe61cdc14fb238441cf..91c5d46c29f0fd82716566e5aca36c9e5b4f6749 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| @@ -40,7 +40,7 @@ using PortState = MIDIAccessor::MIDIPortState;
|
|
|
| MIDIInput* MIDIInput::create(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, const String& version, PortState state)
|
| {
|
| - ASSERT(access);
|
| + DCHECK(access);
|
| MIDIInput* input = new MIDIInput(access, id, manufacturer, name, version, state);
|
| input->suspendIfNeeded();
|
| return input;
|
| @@ -76,7 +76,7 @@ bool MIDIInput::addEventListenerInternal(const AtomicString& eventType, EventLis
|
|
|
| void MIDIInput::didReceiveMIDIData(unsigned portIndex, const unsigned char* data, size_t length, double timeStamp)
|
| {
|
| - ASSERT(isMainThread());
|
| + DCHECK(isMainThread());
|
|
|
| if (!length)
|
| return;
|
|
|