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

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

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules 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/CryptoKey.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp b/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
index 7da91dab888fad22e69ca966c848aeb16257863e..4e68917fb97a78a1b67384363f3b450045b6bb0c 100644
--- a/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
+++ b/third_party/WebKit/Source/modules/crypto/CryptoKey.cpp
@@ -110,7 +110,7 @@ class DictionaryBuilder : public WebCryptoKeyAlgorithmDictionary {
virtual void SetAlgorithm(const char* property_name,
const WebCryptoAlgorithm& algorithm) {
- ASSERT(algorithm.ParamsType() == kWebCryptoAlgorithmParamsTypeNone);
+ DCHECK_EQ(algorithm.ParamsType(), kWebCryptoAlgorithmParamsTypeNone);
V8ObjectBuilder algorithm_value(builder_.GetScriptState());
algorithm_value.AddString(

Powered by Google App Engine
This is Rietveld 408576698