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

Unified Diff: third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) Created 3 years, 7 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/audio_output_devices/SetSinkIdCallbacks.cpp
diff --git a/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp b/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
index 96cdd969347462fc242435057bcc34ec1a876ac5..72ecc346f40fae8727903bc48fdedfc18980b24f 100644
--- a/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
+++ b/third_party/WebKit/Source/modules/audio_output_devices/SetSinkIdCallbacks.cpp
@@ -37,7 +37,7 @@ SetSinkIdCallbacks::SetSinkIdCallbacks(ScriptPromiseResolver* resolver,
HTMLMediaElement& element,
const String& sink_id)
: resolver_(resolver), element_(element), sink_id_(sink_id) {
- ASSERT(resolver_);
+ DCHECK(resolver_);
}
SetSinkIdCallbacks::~SetSinkIdCallbacks() {}
« no previous file with comments | « third_party/WebKit/Source/modules/ModulesInitializer.cpp ('k') | third_party/WebKit/Source/modules/cachestorage/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698