Index: chrome/browser/ui/tab_helpers.cc |
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc |
index d46da69da6bf4dc5b7f77b28f4dd85c0f470490a..3aad1e61448c6e00cc53f43d0335595772ce7839 100644 |
--- a/chrome/browser/ui/tab_helpers.cc |
+++ b/chrome/browser/ui/tab_helpers.cc |
@@ -188,9 +188,8 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) { |
#if BUILDFLAG(ANDROID_JAVA_UI) |
banners::AppBannerManagerAndroid::CreateForWebContents(web_contents); |
BookmarkLastVisitUpdater::CreateForWebContentsWithBookmarkModel( |
- web_contents, |
- BookmarkModelFactory::GetForProfile( |
- Profile::FromBrowserContext(web_contents->GetBrowserContext()))); |
+ web_contents, BookmarkModelFactory::GetForBrowserContext( |
+ web_contents->GetBrowserContext())); |
ContextMenuHelper::CreateForWebContents(web_contents); |
DataUseTabHelper::CreateForWebContents(web_contents); |