Index: chrome/browser/ui/app_list/search/omnibox_result.cc |
diff --git a/chrome/browser/ui/app_list/search/omnibox_result.cc b/chrome/browser/ui/app_list/search/omnibox_result.cc |
index 3404e9eea27ec7dd6413fefea409e50073f446e8..dd08ddeb171a777eb35b5a0e098018666f8fa07d 100644 |
--- a/chrome/browser/ui/app_list/search/omnibox_result.cc |
+++ b/chrome/browser/ui/app_list/search/omnibox_result.cc |
@@ -166,7 +166,8 @@ std::unique_ptr<SearchResult> OmniboxResult::Duplicate() const { |
} |
void OmniboxResult::UpdateIcon() { |
- BookmarkModel* bookmark_model = BookmarkModelFactory::GetForProfile(profile_); |
+ BookmarkModel* bookmark_model = |
+ BookmarkModelFactory::GetForBrowserContext(profile_); |
bool is_bookmarked = |
bookmark_model && bookmark_model->IsBookmarked(match_.destination_url); |