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 b5a3a4efe241cce0e8fcdacdea33dddeb5a28cc5..08b5b614f3583cdfcf9c97405851469f996d52d2 100644 |
| --- a/components/autofill/core/browser/webdata/autofill_table.cc |
| +++ b/components/autofill/core/browser/webdata/autofill_table.cc |
| @@ -930,7 +930,7 @@ bool AutofillTable::GetAutofillProfiles( |
| sql::Statement s(db_->GetUniqueStatement( |
| "SELECT guid " |
| "FROM autofill_profiles " |
| - "ORDER BY date_modified, guid")); |
| + "ORDER BY date_modified DESC, guid")); |
|
Evan Stade
2014/09/25 00:00:06
I meant here, not on trunk
Ilya Sherman
2014/09/25 00:08:55
Oh, I have no idea how I missed that. My bad.
|
| while (s.Step()) { |
| std::string guid = s.ColumnString(0); |
| @@ -1069,7 +1069,7 @@ bool AutofillTable::GetCreditCards( |
| sql::Statement s(db_->GetUniqueStatement( |
| "SELECT guid " |
| "FROM credit_cards " |
| - "ORDER BY date_modified, guid")); |
| + "ORDER BY date_modified DESC, guid")); |
| while (s.Step()) { |
| std::string guid = s.ColumnString(0); |