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 bc634ca1f7b09030d08ce2c2446f77b84e6b4445..99c38b78a09e2c38bb4d3cafffbf4bd18c6f32f0 100644 |
--- a/chrome/browser/ui/cocoa/cocoa_profile_test.mm |
+++ b/chrome/browser/ui/cocoa/cocoa_profile_test.mm |
@@ -49,10 +49,6 @@ void CocoaProfileTest::SetUp() { |
profile_ = profile_manager_.CreateTestingProfile("default"); |
ASSERT_TRUE(profile_); |
- profile_->CreateBookmarkModel(true); |
- test::WaitForBookmarkModelToLoad( |
- BookmarkModelFactory::GetForProfile(profile_)); |
- |
// TODO(shess): These are needed in case someone creates a browser |
// window off of browser_. pkasting indicates that other |
// platforms use a stub |BrowserWindow| and thus don't need to do |
@@ -63,6 +59,10 @@ void CocoaProfileTest::SetUp() { |
AutocompleteClassifierFactory::GetInstance()->SetTestingFactoryAndUse( |
profile_, &AutocompleteClassifierFactory::BuildInstanceFor); |
+ profile_->CreateBookmarkModel(true); |
+ test::WaitForBookmarkModelToLoad( |
+ BookmarkModelFactory::GetForProfile(profile_)); |
+ |
browser_.reset(CreateBrowser()); |
ASSERT_TRUE(browser_.get()); |
} |