| Index: third_party/WebKit/Source/platform/Crypto.cpp
|
| diff --git a/third_party/WebKit/Source/platform/Crypto.cpp b/third_party/WebKit/Source/platform/Crypto.cpp
|
| index 98bb411746a95ac6f4269dac4e37f8f7ff066fc1..55a2b639b0b3a4dfa8b6911241c5913e03bb5fff 100644
|
| --- a/third_party/WebKit/Source/platform/Crypto.cpp
|
| +++ b/third_party/WebKit/Source/platform/Crypto.cpp
|
| @@ -36,7 +36,7 @@ bool ComputeDigest(HashAlgorithm algorithm,
|
| unsigned char* result;
|
| unsigned result_size;
|
|
|
| - ASSERT(crypto);
|
| + DCHECK(crypto);
|
|
|
| std::unique_ptr<WebCryptoDigestor> digestor =
|
| crypto->CreateDigestor(algorithm_id);
|
| @@ -62,7 +62,7 @@ void FinishDigestor(WebCryptoDigestor* digestor, DigestValue& digest_result) {
|
| if (!digestor->Finish(result, result_size))
|
| return;
|
|
|
| - ASSERT(result);
|
| + DCHECK(result);
|
|
|
| digest_result.Append(static_cast<uint8_t*>(result), result_size);
|
| }
|
|
|