| Index: chrome/browser/safe_browsing/safe_browsing_util_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_util_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_util_unittest.cc
|
| index 997df12358aae8dec2259ab03a9e22ad054a97a4..b172508cb0cd51a639bd1b6c4e356d38c551cd15 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_util_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_util_unittest.cc
|
| @@ -338,8 +338,7 @@ TEST(SafeBrowsingUtilTest, ListIdVerification) {
|
| TEST(SafeBrowsingUtilTest, StringToSBFullHashAndSBFullHashToString) {
|
| // 31 chars plus the last \0 as full_hash.
|
| const std::string hash_in = "12345678902234567890323456789012";
|
| - SBFullHash hash_out;
|
| - safe_browsing_util::StringToSBFullHash(hash_in, &hash_out);
|
| + SBFullHash hash_out = safe_browsing_util::StringToSBFullHash(hash_in);
|
| EXPECT_EQ(0x34333231, hash_out.prefix);
|
| EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash)));
|
|
|
|
|