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

Unified Diff: chrome/browser/ui/tab_helpers.cc

Issue 2572433002: Disable tracking of visits to bookmarks in incognito (Closed)
Patch Set: Bernhard's comments #2 Created 4 years 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
« no previous file with comments | « chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_helpers.cc
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
index 0620678938651c6061e1ea477145619afbe9b99f..74e762cf20c2e4276b868ce290ef36326b2ee490 100644
--- a/chrome/browser/ui/tab_helpers.cc
+++ b/chrome/browser/ui/tab_helpers.cc
@@ -158,7 +158,7 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
autofill::ChromeAutofillClient::FromWebContents(web_contents),
g_browser_process->GetApplicationLocale(),
autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER);
- BookmarkLastVisitUpdater::CreateForWebContentsWithBookmarkModel(
+ BookmarkLastVisitUpdater::MaybeCreateForWebContentsWithBookmarkModel(
web_contents, BookmarkModelFactory::GetForBrowserContext(
web_contents->GetBrowserContext()));
chrome_browser_net::NetErrorTabHelper::CreateForWebContents(web_contents);
« no previous file with comments | « chrome/browser/ntp_snippets/bookmark_last_visit_updater_unittest.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698