| Index: components/browsing_data/core/counters/history_counter.cc
|
| diff --git a/components/browsing_data/core/counters/history_counter.cc b/components/browsing_data/core/counters/history_counter.cc
|
| index 6fcb1c17ea94ec4a88a6225c190ccf4e7fd2ce78..0061bb1c7ee290b05bab14d3896a6cf630b5b690 100644
|
| --- a/components/browsing_data/core/counters/history_counter.cc
|
| +++ b/components/browsing_data/core/counters/history_counter.cc
|
| @@ -55,6 +55,8 @@ void HistoryCounter::Count() {
|
| // Reset the state.
|
| cancelable_task_tracker_.TryCancelAll();
|
| web_history_request_.reset();
|
| + weak_ptr_factory_.InvalidateWeakPtrs();
|
| +
|
| has_synced_visits_ = false;
|
|
|
| // Count the locally stored items.
|
|
|