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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIController.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/MIDIController.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
index 562a2e7673c00e5ad1c3efb018c240a8c625d1ee..d76b6b6219e5baa3b77837d51949b0131cf994d2 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIController.cpp
@@ -43,7 +43,7 @@ const char* MIDIController::supplementName()
MIDIController::MIDIController(PassOwnPtr<MIDIClient> client)
: m_client(client)
{
- ASSERT(m_client);
+ DCHECK(m_client);
}
MIDIController::~MIDIController()
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp ('k') | third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698