| Index: content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| diff --git a/content/renderer/webcrypto/webcrypto_impl_unittest.cc b/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| index 8f4ccd00269b0613dcdb1fb485553c85a05e11c8..85307e562103737b7aa65781be861750f4d8a610 100644
|
| --- a/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| +++ b/content/renderer/webcrypto/webcrypto_impl_unittest.cc
|
| @@ -301,9 +301,8 @@ class WebCryptoImplTest : public testing::Test {
|
| blink::WebCryptoKeyUsageEncrypt,
|
| &key);
|
|
|
| - if (status.IsError()) {
|
| + if (status.IsError())
|
| EXPECT_EQ(Status::ErrorUnsupported().ToString(), status.ToString());
|
| - }
|
| return status.IsSuccess();
|
|
|
| }
|
| @@ -320,9 +319,8 @@ class WebCryptoImplTest : public testing::Test {
|
|
|
| blink::WebArrayBuffer output;
|
| Status status = EncryptInternal(algorithm, key, plain_text, &output);
|
| - if (status.IsError()) {
|
| + if (status.IsError())
|
| return status;
|
| - }
|
|
|
| if (output.byteLength() * 8 < tag_length_bits) {
|
| EXPECT_TRUE(false);
|
|
|