| Index: components/offline_pages/offline_page_model_impl_unittest.cc
|
| diff --git a/components/offline_pages/offline_page_model_impl_unittest.cc b/components/offline_pages/offline_page_model_impl_unittest.cc
|
| index 3c988f6de248eef72cecd7eb3f9dfc8704f69cee..3f56878e9219f146e453452470a546ca7cc412ce 100644
|
| --- a/components/offline_pages/offline_page_model_impl_unittest.cc
|
| +++ b/components/offline_pages/offline_page_model_impl_unittest.cc
|
| @@ -770,9 +770,12 @@ TEST_F(OfflinePageModelImplTest, DetectThatOfflineCopyIsMissing) {
|
|
|
| const OfflinePageItem* page = GetPageByOfflineId(offline_id);
|
|
|
| - // Delete the offline copy of the page and check the metadata.
|
| + // Delete the offline copy of the page.
|
| base::DeleteFile(page->file_path, false);
|
| - model()->CheckMetadataConsistency();
|
| +
|
| + // Resetting the model will cause a consistency check.
|
| + ResetModel();
|
| +
|
| PumpLoop();
|
|
|
| // Check if the page has been expired.
|
|
|