| Index: chrome/browser/history/in_memory_url_index_unittest.cc
|
| diff --git a/chrome/browser/history/in_memory_url_index_unittest.cc b/chrome/browser/history/in_memory_url_index_unittest.cc
|
| index e3c316fa3024abe560a1dc00ac88b923a35a2a31..7de8e8c84135b8e924d8965436fa6640e03b6458 100644
|
| --- a/chrome/browser/history/in_memory_url_index_unittest.cc
|
| +++ b/chrome/browser/history/in_memory_url_index_unittest.cc
|
| @@ -27,6 +27,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/test/base/history_index_restore_observer.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| +#include "chrome/test/base/ui_test_utils.h"
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| @@ -187,7 +188,7 @@ void InMemoryURLIndexTest::SetUp() {
|
| // We cannot access the database until the backend has been loaded.
|
| profile_.CreateHistoryService(true, false);
|
| profile_.CreateBookmarkModel(true);
|
| - profile_.BlockUntilBookmarkModelLoaded();
|
| + ui_test_utils::WaitForBookmarkModelToLoad(&profile_);
|
| profile_.BlockUntilHistoryProcessesPendingRequests();
|
| profile_.BlockUntilHistoryIndexIsRefreshed();
|
| history_service_ = HistoryServiceFactory::GetForProfile(
|
|
|