Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp

Issue 1901103006: Web MIDI: Replace ASSERT macros with DCHECK macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp
index 314b8a3bba93dbb2cf11af4ef095512e4d500801..47d2bce820b001c3b68544ac082dc7ccf1297283 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp
@@ -47,11 +47,11 @@ PassOwnPtr<MIDIAccessor> MIDIAccessor::create(MIDIAccessorClient* client)
MIDIAccessor::MIDIAccessor(MIDIAccessorClient* client)
: m_client(client)
{
- ASSERT(client);
+ DCHECK(client);
m_accessor = adoptPtr(Platform::current()->createMIDIAccessor(this));
- ASSERT(m_accessor);
+ DCHECK(m_accessor);
}
void MIDIAccessor::startSession()

Powered by Google App Engine
This is Rietveld 408576698