Index: content/child/webcrypto/test/test_helpers.cc |
diff --git a/content/child/webcrypto/test/test_helpers.cc b/content/child/webcrypto/test/test_helpers.cc |
index 397a8cccd5b53b95a78e1f58e4dd91a55a0f0124..68bbf30c9c16b1c1268554c5b444844a6c38dc34 100644 |
--- a/content/child/webcrypto/test/test_helpers.cc |
+++ b/content/child/webcrypto/test/test_helpers.cc |
@@ -80,15 +80,11 @@ static std::string ErrorTypeToString(blink::WebCryptoErrorType type) { |
return "SyntaxError"; |
case blink::WebCryptoErrorTypeOperation: |
return "OperationError"; |
- case blink::WebCryptoErrorTypeUnknown: |
- return "UnknownError"; |
- case blink::WebCryptoErrorTypeInvalidState: |
- return "InvalidState"; |
case blink::WebCryptoErrorTypeInvalidAccess: |
return "InvalidAccess"; |
+ default: |
+ return "?"; |
} |
- |
- return "?"; |
} |
std::string StatusToString(const Status& status) { |