| Index: third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h
|
| diff --git a/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h b/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h
|
| index f57eedf27a683917a18b7325a0172ce383826e82..5ef20a1a0973e9394cf14f0fcd295a0f71bdc0af 100644
|
| --- a/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h
|
| +++ b/third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h
|
| @@ -77,7 +77,7 @@ public:
|
| explicit WebCryptoAlgorithmParamsWithHash(const WebCryptoAlgorithm& hash)
|
| : m_hash(hash)
|
| {
|
| - BLINK_ASSERT(!hash.isNull());
|
| + DCHECK(!hash.isNull());
|
| }
|
|
|
| const WebCryptoAlgorithm& hash() const { return m_hash; }
|
| @@ -135,7 +135,7 @@ public:
|
| , m_hasLengthBits(hasLengthBits)
|
| , m_optionalLengthBits(lengthBits)
|
| {
|
| - BLINK_ASSERT(hasLengthBits || !lengthBits);
|
| + DCHECK(hasLengthBits || !lengthBits);
|
| }
|
|
|
| virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeHmacImportParams; }
|
| @@ -156,7 +156,7 @@ public:
|
| , m_hasLengthBits(hasLengthBits)
|
| , m_optionalLengthBits(lengthBits)
|
| {
|
| - BLINK_ASSERT(hasLengthBits || !lengthBits);
|
| + DCHECK(hasLengthBits || !lengthBits);
|
| }
|
|
|
| virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeHmacKeyGenParams; }
|
| @@ -179,8 +179,8 @@ public:
|
| , m_hasTagLengthBits(hasTagLengthBits)
|
| , m_optionalTagLengthBits(tagLengthBits)
|
| {
|
| - BLINK_ASSERT(hasAdditionalData || !additionalDataSize);
|
| - BLINK_ASSERT(hasTagLengthBits || !tagLengthBits);
|
| + DCHECK(hasAdditionalData || !additionalDataSize);
|
| + DCHECK(hasTagLengthBits || !tagLengthBits);
|
| }
|
|
|
| virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeAesGcmParams; }
|
| @@ -218,7 +218,7 @@ public:
|
| , m_publicExponent(publicExponent, publicExponentSize)
|
| , m_hash(hash)
|
| {
|
| - BLINK_ASSERT(!hash.isNull());
|
| + DCHECK(!hash.isNull());
|
| }
|
|
|
| virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeRsaHashedKeyGenParams; }
|
| @@ -255,7 +255,7 @@ public:
|
| : m_hasLabel(hasLabel)
|
| , m_optionalLabel(label, labelSize)
|
| {
|
| - BLINK_ASSERT(hasLabel || !labelSize);
|
| + DCHECK(hasLabel || !labelSize);
|
| }
|
|
|
| virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeRsaOaepParams; }
|
|
|