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 8ded2c43ccab3203894aa22c7256bbef236e462f..ba8f4a1917d5374700e266213528a5cad536ce99 100644 |
--- a/content/child/webcrypto/shared_crypto_unittest.cc |
+++ b/content/child/webcrypto/shared_crypto_unittest.cc |
@@ -110,10 +110,6 @@ blink::WebCryptoAlgorithm CreateAesGcmAlgorithm( |
blink::WebCryptoAlgorithm CreateHmacKeyGenAlgorithm( |
blink::WebCryptoAlgorithmId hash_id, |
unsigned int key_length_bits) { |
-#if !defined(WEBCRYPTO_HMAC_BITS) |
- // TODO(eroman): Delete |
- key_length_bits /= 8; |
-#endif |
DCHECK(IsHashAlgorithm(hash_id)); |
// key_length_bytes == 0 means unspecified |
return blink::WebCryptoAlgorithm::adoptParamsAndCreate( |