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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 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/platform/mediastream/MediaStreamDescriptor.cpp
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp
index 246d4c21bce465b7e6ea1376a0e08b22022e6ced..da5379d233325b0cece746b49f5d9c0d83a099bc 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamDescriptor.cpp
@@ -104,7 +104,7 @@ MediaStreamDescriptor::MediaStreamDescriptor(
const MediaStreamSourceVector& audio_sources,
const MediaStreamSourceVector& video_sources)
: client_(nullptr), id_(id), active_(true) {
- ASSERT(id_.length());
+ DCHECK(id_.length());
for (size_t i = 0; i < audio_sources.size(); i++)
audio_components_.push_back(MediaStreamComponent::Create(audio_sources[i]));
@@ -117,7 +117,7 @@ MediaStreamDescriptor::MediaStreamDescriptor(
const MediaStreamComponentVector& audio_components,
const MediaStreamComponentVector& video_components)
: client_(nullptr), id_(id), active_(true) {
- ASSERT(id_.length());
+ DCHECK(id_.length());
for (MediaStreamComponentVector::const_iterator iter =
audio_components.begin();
iter != audio_components.end(); ++iter)

Powered by Google App Engine
This is Rietveld 408576698