| Index: components/history/core/browser/top_sites_database.cc
|
| diff --git a/components/history/core/browser/top_sites_database.cc b/components/history/core/browser/top_sites_database.cc
|
| index faa61fc499a2487c1fde41e4dc882c721e3d06d6..646a85c44b87396576054c1261e01c782458ff75 100644
|
| --- a/components/history/core/browser/top_sites_database.cc
|
| +++ b/components/history/core/browser/top_sites_database.cc
|
| @@ -277,9 +277,8 @@ void RecoverDatabaseOrRaze(sql::Connection* db, const base::FilePath& db_path) {
|
| return;
|
| }
|
|
|
| - // The |1| is because v2 [thumbnails] has one less column than v3 did. In the
|
| - // v2 case the column will get default values.
|
| - if (!recovery->AutoRecoverTable("thumbnails", 1, &thumbnails_recovered)) {
|
| + // In the v2 case the missing column will get default values.
|
| + if (!recovery->AutoRecoverTable("thumbnails", &thumbnails_recovered)) {
|
| sql::Recovery::Rollback(std::move(recovery));
|
| RecordRecoveryEvent(RECOVERY_EVENT_FAILED_AUTORECOVER_THUMBNAILS);
|
| return;
|
|
|