Index: chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc |
diff --git a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc |
index 5045a15f5f7b88ee2948f0dcdebcad51b6ab8d75..2143adce9f67745082305d53277f72a1e5794eaf 100644 |
--- a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc |
+++ b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc |
@@ -55,7 +55,7 @@ class BookmarkContextMenuControllerTest : public testing::Test { |
TestingProfile::Builder builder; |
profile_ = builder.Build(); |
profile_->CreateBookmarkModel(true); |
- model_ = BookmarkModelFactory::GetForProfile(profile_.get()); |
+ model_ = BookmarkModelFactory::GetForBrowserContext(profile_.get()); |
bookmarks::test::WaitForBookmarkModelToLoad(model_); |
AddTestData(model_); |
} |
@@ -240,7 +240,7 @@ TEST_F(BookmarkContextMenuControllerTest, DisableIncognito) { |
TestingProfile::Builder().BuildIncognito(profile_.get()); |
incognito->CreateBookmarkModel(true); |
- BookmarkModel* model = BookmarkModelFactory::GetForProfile(incognito); |
+ BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(incognito); |
bookmarks::test::WaitForBookmarkModelToLoad(model); |
AddTestData(model); |