Chromium Code Reviews| Index: components/autofill/core/browser/webdata/autofill_table.cc |
| diff --git a/components/autofill/core/browser/webdata/autofill_table.cc b/components/autofill/core/browser/webdata/autofill_table.cc |
| index fc234ae4107e4224ad0d880ebb76685d5b64a786..a4463156f482171baf112e207b4a1e25f6ad6e2a 100644 |
| --- a/components/autofill/core/browser/webdata/autofill_table.cc |
| +++ b/components/autofill/core/browser/webdata/autofill_table.cc |
| @@ -953,6 +953,7 @@ bool AutofillTable::GetServerProfiles(std::vector<AutofillProfile*>* profiles) { |
| AutofillProfile::SERVER_PROFILE, s.ColumnString(index++))); |
| profile->set_use_count(s.ColumnInt64(index++)); |
| profile->set_use_date(Time::FromInternalValue(s.ColumnInt64(index++))); |
| + profile->set_modification_date(Time()); |
|
Mathieu
2016/05/25 20:28:46
comment? It's easy to miss the subtlety here and b
Justin Donnelly
2016/05/25 20:36:50
Done.
|
| base::string16 recipient_name = s.ColumnString16(index++); |
| profile->SetRawInfo(COMPANY_NAME, s.ColumnString16(index++)); |
| @@ -1219,6 +1220,7 @@ bool AutofillTable::GetServerCreditCards( |
| : full_card_number); |
| card->set_use_count(s.ColumnInt64(index++)); |
| card->set_use_date(Time::FromInternalValue(s.ColumnInt64(index++))); |
| + card->set_modification_date(Time()); |
| std::string card_type = s.ColumnString(index++); |
| if (record_type == CreditCard::MASKED_SERVER_CARD) { |