Index: chrome/browser/visitedlink/visitedlink_unittest.cc |
=================================================================== |
--- chrome/browser/visitedlink/visitedlink_unittest.cc (revision 117955) |
+++ chrome/browser/visitedlink/visitedlink_unittest.cc (working copy) |
@@ -116,6 +116,9 @@ |
// our destroy task. |
MessageLoop::current()->Run(); |
} |
+ |
+ // Wait for all pending file I/O to be completed. |
+ BrowserThread::GetBlockingPool()->FlushForTesting(); |
} |
// Loads the database from disk and makes sure that the same URLs are present |