Index: content/child/webcrypto/algorithm_dispatch.cc |
diff --git a/content/child/webcrypto/algorithm_dispatch.cc b/content/child/webcrypto/algorithm_dispatch.cc |
index 4badeea98674c47c297ee6c46c890f503cb795df..fa2e0174a35920c6d201281275152c8fd1c7ae49 100644 |
--- a/content/child/webcrypto/algorithm_dispatch.cc |
+++ b/content/child/webcrypto/algorithm_dispatch.cc |
@@ -117,7 +117,7 @@ Status GenerateKey(const blink::WebCryptoAlgorithm& algorithm, |
// does not do its own check of the usages. |
if (key->usages() == 0) { |
DCHECK(false) << "Key usages for generateKey() must not be empty"; |
- return Status::ErrorCreateKeyEmptyUsages(); |
+ return Status::ErrorKeyEmptyUsages(); |
} |
return status; |
} |