| Index: chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
|
| diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
|
| index fa88611cb9ea623bb1a46009cb3bfee32e489dbc..c028e75290aaab79cd5aa7c889af6f736a72aa29 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/bookmarks/bookmark_utils.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| +#include "chrome/test/base/ui_test_utils.h"
|
| #include "content/public/browser/page_navigator.h"
|
| #include "content/public/test/test_browser_thread.h"
|
| #include "grit/generated_resources.h"
|
| @@ -58,9 +59,9 @@ class BookmarkContextMenuTest : public testing::Test {
|
| virtual void SetUp() OVERRIDE {
|
| profile_.reset(new TestingProfile());
|
| profile_->CreateBookmarkModel(true);
|
| - profile_->BlockUntilBookmarkModelLoaded();
|
|
|
| model_ = BookmarkModelFactory::GetForProfile(profile_.get());
|
| + ui_test_utils::WaitForBookmarkModelToLoad(model_);
|
|
|
| AddTestData();
|
| }
|
|
|