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

Unified Diff: third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Created 3 years, 7 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/crypto/NormalizeAlgorithm.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
index e67d9159ddf72823dc608e1cf3c6094783c1cd38..35155954a1219e50fded4185f529c5dbfe8a6e62 100644
--- a/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
+++ b/third_party/WebKit/Source/modules/crypto/NormalizeAlgorithm.cpp
@@ -180,7 +180,7 @@ bool LookupAlgorithmIdByName(const String& algorithm_name,
const AlgorithmNameMapping* end =
kAlgorithmNameMappings + WTF_ARRAY_LENGTH(kAlgorithmNameMappings);
- ASSERT(VerifyAlgorithmNameMappings(begin, end));
+ DCHECK(VerifyAlgorithmNameMappings(begin, end));
const AlgorithmNameMapping* it;
if (algorithm_name.Impl()->Is8Bit())

Powered by Google App Engine
This is Rietveld 408576698