Index: chrome/browser/ui/bookmarks/bookmark_browsertest.cc |
diff --git a/chrome/browser/ui/bookmarks/bookmark_browsertest.cc b/chrome/browser/ui/bookmarks/bookmark_browsertest.cc |
index 92d47ecb0af3784a78350831dfa03d86b85993a5..50d898b1c41dbca2c36d48ac4c72763a13bccd62 100644 |
--- a/chrome/browser/ui/bookmarks/bookmark_browsertest.cc |
+++ b/chrome/browser/ui/bookmarks/bookmark_browsertest.cc |
@@ -83,7 +83,7 @@ class BookmarkBrowsertest : public InProcessBrowserTest { |
BookmarkModel* WaitForBookmarkModel(Profile* profile) { |
BookmarkModel* bookmark_model = |
- BookmarkModelFactory::GetForProfile(profile); |
+ BookmarkModelFactory::GetForBrowserContext(profile); |
bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model); |
return bookmark_model; |
} |