Index: chrome/browser/ui/cocoa/cocoa_profile_test.mm |
diff --git a/chrome/browser/ui/cocoa/cocoa_profile_test.mm b/chrome/browser/ui/cocoa/cocoa_profile_test.mm |
index b8eacf2226f8e81b86930fd67ac494362a2e1bce..52caf514584b112fff158941c4337558892c370b 100644 |
--- a/chrome/browser/ui/cocoa/cocoa_profile_test.mm |
+++ b/chrome/browser/ui/cocoa/cocoa_profile_test.mm |
@@ -6,6 +6,7 @@ |
#include "base/run_loop.h" |
#include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
+#include "chrome/browser/bookmarks/bookmark_model_factory.h" |
#include "chrome/browser/bookmarks/bookmark_test_helpers.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
@@ -49,7 +50,8 @@ void CocoaProfileTest::SetUp() { |
ASSERT_TRUE(profile_); |
profile_->CreateBookmarkModel(true); |
- test::WaitForBookmarkModelToLoad(profile_); |
+ test::WaitForBookmarkModelToLoad( |
+ BookmarkModelFactory::GetForProfile(profile_)); |
// TODO(shess): These are needed in case someone creates a browser |
// window off of browser_. pkasting indicates that other |