Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm |
index 9b36c197daaddf57eb33ade9dc14d2360eb7611a..67d06c783ef64427d9ee25135550efa27489569d 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view_unittest.mm |
@@ -158,7 +158,8 @@ TEST_F(BookmarkBarFolderViewTest, BookmarkButtonDragAndDropAcrossProfiles) { |
TestingProfile* other_profile = |
testing_profile_manager()->CreateTestingProfile("other"); |
other_profile->CreateBookmarkModel(true); |
- test::WaitForBookmarkModelToLoad(other_profile); |
+ test::WaitForBookmarkModelToLoad( |
+ BookmarkModelFactory::GetForProfile(other_profile)); |
mock_controller_.reset(GetMockController( |
YES, BookmarkModelFactory::GetForProfile(other_profile))); |