| Index: chrome/browser/history/top_sites_database.cc
|
| diff --git a/chrome/browser/history/top_sites_database.cc b/chrome/browser/history/top_sites_database.cc
|
| index db9156d4ea06c5d73abf992872868a401d7749a5..e86c07f073e7f7a8d5de0398f200d47f6b28dc3a 100644
|
| --- a/chrome/browser/history/top_sites_database.cc
|
| +++ b/chrome/browser/history/top_sites_database.cc
|
| @@ -312,6 +312,9 @@ void TopSitesDatabase::UpdatePageRank(const MostVisitedURL& url,
|
| void TopSitesDatabase::UpdatePageRankNoTransaction(
|
| const MostVisitedURL& url, int new_rank) {
|
| DCHECK_GT(db_->transaction_nesting(), 0);
|
| + DCHECK((url.last_forced_time.is_null()) == (new_rank != kRankOfForcedURL))
|
| + << "Thumbnail without a forced time stamp has a forced rank, or the "
|
| + << "opposite.";
|
|
|
| int prev_rank = GetURLRank(url);
|
| if (prev_rank == kRankOfNonExistingURL) {
|
|
|