Index: components/safe_browsing_db/v4_update_protocol_manager.cc |
diff --git a/components/safe_browsing_db/v4_update_protocol_manager.cc b/components/safe_browsing_db/v4_update_protocol_manager.cc |
index 85ff87961e85977856cc867ee6eb43e0b6552e5d..6f9465bf1f3bd27c6978ae37ab94f70049dd880f 100644 |
--- a/components/safe_browsing_db/v4_update_protocol_manager.cc |
+++ b/components/safe_browsing_db/v4_update_protocol_manager.cc |
@@ -201,10 +201,10 @@ std::string V4UpdateProtocolManager::GetBase64SerializedUpdateRequestProto() { |
const auto& list_to_update = entry.first; |
const auto& state = entry.second; |
ListUpdateRequest* list_update_request = request.add_list_update_requests(); |
- list_update_request->set_platform_type(list_to_update.platform_type); |
+ list_update_request->set_platform_type(list_to_update.platform_type()); |
list_update_request->set_threat_entry_type( |
- list_to_update.threat_entry_type); |
- list_update_request->set_threat_type(list_to_update.threat_type); |
+ list_to_update.threat_entry_type()); |
+ list_update_request->set_threat_type(list_to_update.threat_type()); |
if (!state.empty()) { |
list_update_request->set_state(state); |