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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp

Issue 1862163002: WebKit MediaStream cleanup: ASSERT-->DCHECK and ASSERT_NOT_REACHED-->NOTREACHED etc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted CHECK --> RELEASE_ASSERT and added TODO Created 4 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/modules/mediastream/RTCStatsResponse.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp b/third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp
index b859246ee0eca2c060edd6e90b2b55684abe1dfc..5130a4f85453140ccc29b0c9f80bb54a44810ee2 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp
@@ -51,7 +51,7 @@ size_t RTCStatsResponse::addReport(const String& id, const String& type, double
void RTCStatsResponse::addStatistic(size_t report, const String& name, const String& value)
{
- ASSERT_WITH_SECURITY_IMPLICATION(report >= 0 && report < m_result.size());
+ SECURITY_DCHECK(report >= 0 && report < m_result.size());
m_result[report]->addStatistic(name, value);
}

Powered by Google App Engine
This is Rietveld 408576698