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

Unified Diff: third_party/WebKit/public/platform/WebRTCKeyParams.h

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check the |callbacks| for nullptr and use explicit delete. 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/public/platform/WebRTCKeyParams.h
diff --git a/third_party/WebKit/public/platform/WebRTCKeyParams.h b/third_party/WebKit/public/platform/WebRTCKeyParams.h
index c930f079b3f0a5013d300831ab97fe1f859c38a0..7f7d29c7b1eba121be82de5ab8c37ced92b9f7f1 100644
--- a/third_party/WebKit/public/platform/WebRTCKeyParams.h
+++ b/third_party/WebKit/public/platform/WebRTCKeyParams.h
@@ -32,6 +32,7 @@
#define WebRTCKeyParams_h
#include "WebCommon.h"
+#include "base/logging.h"
namespace blink {
@@ -69,12 +70,12 @@ public:
WebRTCKeyType keyType() const { return m_keyType; }
WebRTCRSAParams rsaParams() const
{
- BLINK_ASSERT(m_keyType == WebRTCKeyTypeRSA);
+ DCHECK_EQ(m_keyType, WebRTCKeyTypeRSA);
return m_params.rsa;
}
WebRTCECCurve ecCurve() const
{
- BLINK_ASSERT(m_keyType == WebRTCKeyTypeECDSA);
+ DCHECK_EQ(m_keyType, WebRTCKeyTypeECDSA);
return m_params.ecCurve;
}
« no previous file with comments | « third_party/WebKit/public/platform/WebProcessMemoryDump.h ('k') | third_party/WebKit/public/platform/WebVector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698