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

Unified Diff: third_party/WebKit/Source/platform/exported/WebMediaConstraints.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/WebMediaConstraints.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
index c628726f0e294d3e89c66d99980b509921c4fd0e..c5e4fcd00f8ecce4f253a38ff4115cc0854e5694 100644
--- a/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp
@@ -527,25 +527,25 @@ bool WebMediaConstraints::IsEmpty() const {
}
void WebMediaConstraints::Initialize() {
- ASSERT(IsNull());
+ DCHECK(IsNull());
private_ = WebMediaConstraintsPrivate::Create();
}
void WebMediaConstraints::Initialize(
const WebMediaTrackConstraintSet& basic,
const WebVector<WebMediaTrackConstraintSet>& advanced) {
- ASSERT(IsNull());
+ DCHECK(IsNull());
private_ = WebMediaConstraintsPrivate::Create(basic, advanced);
}
const WebMediaTrackConstraintSet& WebMediaConstraints::Basic() const {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
return private_->Basic();
}
const WebVector<WebMediaTrackConstraintSet>& WebMediaConstraints::Advanced()
const {
- ASSERT(!IsNull());
+ DCHECK(!IsNull());
return private_->Advanced();
}

Powered by Google App Engine
This is Rietveld 408576698