Index: chrome/browser/bookmarks/bookmark_model_unittest.cc |
=================================================================== |
--- chrome/browser/bookmarks/bookmark_model_unittest.cc (revision 143165) |
+++ chrome/browser/bookmarks/bookmark_model_unittest.cc (working copy) |
@@ -1069,7 +1069,8 @@ |
// This won't actually delete the URL, rather it'll empty out the visits. |
// This triggers blocking on the BookmarkModel. |
- profile_->GetHistoryService(Profile::EXPLICIT_ACCESS)->DeleteURL(url); |
+ HistoryServiceFactory::GetForProfile( |
+ profile_, Profile::EXPLICIT_ACCESS)->DeleteURL(url); |
} |
TEST_F(BookmarkModelTest, Sort) { |