| Index: components/history/core/browser/history_types.cc
|
| diff --git a/components/history/core/browser/history_types.cc b/components/history/core/browser/history_types.cc
|
| index 5d9ea3c805b95486b19e94b4733362c923b93382..c6d3edacac1b0bcc79822108cc2277d2e1045772 100644
|
| --- a/components/history/core/browser/history_types.cc
|
| +++ b/components/history/core/browser/history_types.cc
|
| @@ -254,7 +254,8 @@ HistoryAddPageArgs::HistoryAddPageArgs()
|
| RedirectList(),
|
| ui::PAGE_TRANSITION_LINK,
|
| SOURCE_BROWSED,
|
| - false) {
|
| + false,
|
| + true) {
|
| }
|
|
|
| HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
|
| @@ -265,7 +266,8 @@ HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
|
| const RedirectList& redirects,
|
| ui::PageTransition transition,
|
| VisitSource source,
|
| - bool did_replace_entry)
|
| + bool did_replace_entry,
|
| + bool consider_for_ntp_most_visited)
|
| : url(url),
|
| time(time),
|
| context_id(context_id),
|
| @@ -274,7 +276,8 @@ HistoryAddPageArgs::HistoryAddPageArgs(const GURL& url,
|
| redirects(redirects),
|
| transition(transition),
|
| visit_source(source),
|
| - did_replace_entry(did_replace_entry) {
|
| + did_replace_entry(did_replace_entry),
|
| + consider_for_ntp_most_visited(consider_for_ntp_most_visited) {
|
| }
|
|
|
| HistoryAddPageArgs::HistoryAddPageArgs(const HistoryAddPageArgs& other) =
|
|
|