Index: chrome/browser/browser_commands_unittest.cc |
diff --git a/chrome/browser/browser_commands_unittest.cc b/chrome/browser/browser_commands_unittest.cc |
index 5d1a60bc08e992e57641434acb67bcff13017e38..644b8702e6dc33169b00325ccf700921d1a9fd63 100644 |
--- a/chrome/browser/browser_commands_unittest.cc |
+++ b/chrome/browser/browser_commands_unittest.cc |
@@ -158,7 +158,7 @@ TEST_F(BrowserCommandsTest, BookmarkCurrentPage) { |
// We use profile() here, since it's a TestingProfile. |
profile()->CreateBookmarkModel(true); |
- BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile()); |
+ BookmarkModel* model = BookmarkModelFactory::GetForBrowserContext(profile()); |
bookmarks::test::WaitForBookmarkModelToLoad(model); |
// Navigate to a url. |