| Index: content/child/webcrypto/status.cc
|
| diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
|
| index 5ddbf39e14090a65c1198c1cac256c46be1feb8b..fc01c2c290a981a658811eabb843d752d2a4541d 100644
|
| --- a/content/child/webcrypto/status.cc
|
| +++ b/content/child/webcrypto/status.cc
|
| @@ -151,8 +151,11 @@ Status Status::ErrorDataTooSmall() {
|
| }
|
|
|
| Status Status::ErrorUnsupported() {
|
| - return Status(blink::WebCryptoErrorTypeNotSupported,
|
| - "The requested operation is unsupported");
|
| + return ErrorUnsupported("The requested operation is unsupported");
|
| +}
|
| +
|
| +Status Status::ErrorUnsupported(const std::string& message) {
|
| + return Status(blink::WebCryptoErrorTypeNotSupported, message);
|
| }
|
|
|
| Status Status::ErrorUnexpected() {
|
|
|