summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/autofill/core/browser/webdata/autofill_table.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/autofill/core/browser/webdata/autofill_table.cc b/components/autofill/core/browser/webdata/autofill_table.cc
index b5a3a4e..08b5b61 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"));
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);