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

Unified Diff: third_party/WebKit/Source/platform/exported/WebRTCSessionDescription.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/WebRTCSessionDescription.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRTCSessionDescription.cpp b/third_party/WebKit/Source/platform/exported/WebRTCSessionDescription.cpp
index 979468c3ecc00847f1c08f8171e8bbf9c03df3e9..f253cef5cb321f494227534d271d35ef47bafe17 100644
--- a/third_party/WebKit/Source/platform/exported/WebRTCSessionDescription.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRTCSessionDescription.cpp
@@ -81,22 +81,22 @@ void WebRTCSessionDescription::Initialize(const WebString& type,
}
WebString WebRTCSessionDescription::GetType() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->GetType();
}
void WebRTCSessionDescription::SetType(const WebString& type) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->SetType(type);
}
WebString WebRTCSessionDescription::Sdp() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->Sdp();
}
void WebRTCSessionDescription::SetSDP(const WebString& sdp) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->SetSdp(sdp);
}

Powered by Google App Engine
This is Rietveld 408576698