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

Unified Diff: third_party/WebKit/Source/platform/exported/WebRTCICECandidate.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/WebRTCICECandidate.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebRTCICECandidate.cpp b/third_party/WebKit/Source/platform/exported/WebRTCICECandidate.cpp
index 447c4bedb41c22470becdef770e3caf6b9f13606..d68f5944021bec8e3cd06f7adca8003ea834cde8 100644
--- a/third_party/WebKit/Source/platform/exported/WebRTCICECandidate.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebRTCICECandidate.cpp
@@ -95,32 +95,32 @@ void WebRTCICECandidate::Initialize(const WebString& candidate,
}
WebString WebRTCICECandidate::Candidate() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->Candidate();
}
WebString WebRTCICECandidate::SdpMid() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->SdpMid();
}
unsigned short WebRTCICECandidate::SdpMLineIndex() const {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
return private_->SdpMLineIndex();
}
void WebRTCICECandidate::SetCandidate(WebString candidate) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->SetCandidate(candidate);
}
void WebRTCICECandidate::SetSdpMid(WebString sdp_mid) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->SetSdpMid(sdp_mid);
}
void WebRTCICECandidate::SetSdpMLineIndex(unsigned short sdp_m_line_index) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->SetSdpMLineIndex(sdp_m_line_index);
}

Powered by Google App Engine
This is Rietveld 408576698