Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8165)

Unified Diff: chrome/browser/ui/omnibox/omnibox_view_browsertest.cc

Issue 2216713002: Use BookmarkModelFactory::GetForBrowserContext everywhere (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bookmarks
Patch Set: Replace in .mm files Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « chrome/browser/ui/omnibox/chrome_omnibox_client.cc ('k') | chrome/browser/ui/sync/profile_signin_confirmation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698