diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc b/chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc index ab0355a47e7..d2b2e118d7e 100644 --- a/chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc +++ b/chromium/third_party/blink/renderer/modules/crypto/normalize_algorithm.cc @@ -137,7 +137,7 @@ bool VerifyAlgorithmNameMappings(const AlgorithmNameMapping* begin, return false; String str(it->algorithm_name, static_cast<unsigned>(it->algorithm_name_length)); - if (!str.ContainsOnlyASCII()) + if (!str.ContainsOnlyASCIIOrEmpty()) return false; if (str.UpperASCII() != str) return false; |