| Index: components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc
|
| diff --git a/components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc b/components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc
|
| index b8c8bff730bbc60bc0bd2abafdc66ab9759ffc4a..c8b0542e351a462cc69e67d041e4a14b042df87e 100644
|
| --- a/components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc
|
| +++ b/components/safe_browsing_db/v4_get_hash_protocol_manager_unittest.cc
|
| @@ -140,9 +140,9 @@ class V4GetHashProtocolManagerTest : public PlatformTest {
|
| res.mutable_negative_cache_duration()->set_seconds(600);
|
| for (const ResponseInfo& info : response_infos) {
|
| ThreatMatch* m = res.add_matches();
|
| - m->set_platform_type(info.list_id.platform_type);
|
| - m->set_threat_entry_type(info.list_id.threat_entry_type);
|
| - m->set_threat_type(info.list_id.threat_type);
|
| + m->set_platform_type(info.list_id.platform_type());
|
| + m->set_threat_entry_type(info.list_id.threat_entry_type());
|
| + m->set_threat_type(info.list_id.threat_type());
|
| m->mutable_cache_duration()->set_seconds(300);
|
| m->mutable_threat()->set_hash(info.full_hash);
|
|
|
|
|