Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index ccd9bdd64aad171a1c8163ff708f158e64e8c7ce..66d244ebe32ff6d452fb89bf0c6a162bf5057282 100644 |
--- a/chrome/test/base/ui_test_utils.cc |
+++ b/chrome/test/base/ui_test_utils.cc |
@@ -418,6 +418,7 @@ void RegisterAndWait(content::NotificationObserver* observer, |
void WaitForBookmarkModelToLoad(BookmarkModel* model) { |
if (model->IsLoaded()) |
return; |
+ model->GetBookmarkTaskRunner()->Start(); |
Miranda Callahan
2013/03/27 13:31:46
See remark in profile_manager about changing to mo
|
base::RunLoop run_loop; |
BookmarkLoadObserver observer(content::GetQuitTaskForRunLoop(&run_loop)); |
model->AddObserver(&observer); |