Index: chrome/browser/ui/omnibox/omnibox_view_browsertest.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc |
index 60e5b315cb92a5bf39b57045a3ea64f700561713..9fea9c01e11f66a79c67f239a1befb7f7444a6c9 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc |
@@ -306,7 +306,7 @@ class OmniboxViewTest : public InProcessBrowserTest, |
} |
BookmarkModel* bookmark_model = |
- BookmarkModelFactory::GetForProfile(profile); |
+ BookmarkModelFactory::GetForBrowserContext(profile); |
ASSERT_TRUE(bookmark_model); |
bookmarks::test::WaitForBookmarkModelToLoad(bookmark_model); |