Index: content/child/webcrypto/shared_crypto_unittest.cc |
diff --git a/content/child/webcrypto/shared_crypto_unittest.cc b/content/child/webcrypto/shared_crypto_unittest.cc |
index d5c7df89211f8d0ec49a5c802a0b55cd49dd9852..433595927af9b7a8f9fd1cf7434598d12626193b 100644 |
--- a/content/child/webcrypto/shared_crypto_unittest.cc |
+++ b/content/child/webcrypto/shared_crypto_unittest.cc |
@@ -304,17 +304,6 @@ void RestoreJwkRsaDictionary(base::DictionaryValue* dict) { |
dict->SetString("e", "AQAB"); |
} |
-blink::WebCryptoAlgorithm CreateRsaHashedImportAlgorithm( |
- blink::WebCryptoAlgorithmId algorithm_id, |
- blink::WebCryptoAlgorithmId hash_id) { |
- DCHECK(algorithm_id == blink::WebCryptoAlgorithmIdRsaSsaPkcs1v1_5 || |
- algorithm_id == blink::WebCryptoAlgorithmIdRsaOaep); |
- DCHECK(IsHashAlgorithm(hash_id)); |
- return blink::WebCryptoAlgorithm::adoptParamsAndCreate( |
- algorithm_id, |
- new blink::WebCryptoRsaHashedImportParams(CreateAlgorithm(hash_id))); |
-} |
- |
// Determines if two ArrayBuffers have identical content. |
bool ArrayBuffersEqual(const blink::WebArrayBuffer& a, |
const blink::WebArrayBuffer& b) { |