Index: components/history/core/browser/history_service.cc |
diff --git a/components/history/core/browser/history_service.cc b/components/history/core/browser/history_service.cc |
index a7e47e12a931a21a49958dc3fb669277e152decb..5e62f47897056448e3345297c92b668cefb9fea6 100644 |
--- a/components/history/core/browser/history_service.cc |
+++ b/components/history/core/browser/history_service.cc |
@@ -378,7 +378,7 @@ void HistoryService::AddPage(const GURL& url, |
DCHECK(thread_checker_.CalledOnValidThread()); |
AddPage(HistoryAddPageArgs(url, time, context_id, nav_entry_id, referrer, |
redirects, transition, visit_source, |
- did_replace_entry)); |
+ did_replace_entry, true)); |
} |
void HistoryService::AddPage(const GURL& url, |
@@ -386,7 +386,8 @@ void HistoryService::AddPage(const GURL& url, |
VisitSource visit_source) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
AddPage(HistoryAddPageArgs(url, time, nullptr, 0, GURL(), RedirectList(), |
- ui::PAGE_TRANSITION_LINK, visit_source, false)); |
+ ui::PAGE_TRANSITION_LINK, visit_source, false, |
+ true)); |
} |
void HistoryService::AddPage(const HistoryAddPageArgs& add_page_args) { |