Index: chrome/browser/profiles/profile_manager_unittest.cc |
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc |
index ca66dba9787c473738dfcf8a7bdf81c563f7e599..3b49eacdab197b19b7d16518d09dd2912078201b 100644 |
--- a/chrome/browser/profiles/profile_manager_unittest.cc |
+++ b/chrome/browser/profiles/profile_manager_unittest.cc |
@@ -215,14 +215,14 @@ TEST_F(ProfileManagerTest, CreateAndUseTwoProfiles) { |
ASSERT_TRUE(profile2); |
// Force lazy-init of some profile services to simulate use. |
- profile1->CreateHistoryService(true, false); |
+ ASSERT_TRUE(profile1->CreateHistoryService(true, false)); |
EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile1, |
Profile::EXPLICIT_ACCESS)); |
profile1->CreateBookmarkModel(true); |
EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile1)); |
profile2->CreateBookmarkModel(true); |
EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile2)); |
- profile2->CreateHistoryService(true, false); |
+ ASSERT_TRUE(profile2->CreateHistoryService(true, false)); |
EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile2, |
Profile::EXPLICIT_ACCESS)); |