diff options
Diffstat (limited to 'chrome/browser/thumbnail_store_unittest.cc')
-rw-r--r-- | chrome/browser/thumbnail_store_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/thumbnail_store_unittest.cc b/chrome/browser/thumbnail_store_unittest.cc index 483cdf1..331d5df 100644 --- a/chrome/browser/thumbnail_store_unittest.cc +++ b/chrome/browser/thumbnail_store_unittest.cc @@ -181,7 +181,8 @@ TEST_F(ThumbnailStoreTest, RetrieveFromDisk) { // Write the thumbnail to disk and retrieve it. store_->InitializeFromDB(db_name_, NULL); - store_->CommitCacheToDB(NULL); // Write to the DB (dirty bit sould be set) + // Write to the DB (dirty bit sould be set) + store_->CommitCacheToDB(NULL, new ThumbnailStore::Cache(*store_->cache_)); store_->cache_->clear(); // Clear it from the cache. // Read from the DB. |