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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaStream.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (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/exported/WebMediaStream.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaStream.cpp b/third_party/WebKit/Source/platform/exported/WebMediaStream.cpp
index 1c883c4a2290d7e556d436f19443e60dfc0a4256..a2c065f527e58b9a635b24bcdac937d390198fb4 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaStream.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaStream.cpp
@@ -121,12 +121,12 @@ WebMediaStreamTrack WebMediaStream::GetVideoTrack(
}
void WebMediaStream::AddTrack(const WebMediaStreamTrack& track) {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
private_->AddRemoteTrack(track);
}
void WebMediaStream::RemoveTrack(const WebMediaStreamTrack& track) {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
private_->RemoveRemoteTrack(track);
}

Powered by Google App Engine
This is Rietveld 408576698