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 f4c9e77d0429f83e8a8f79b442d3b7c4d72e9bda..b9ebe00521add936bbbd9d22696e8edf2421a08b 100644 |
--- a/components/history/core/browser/history_service.cc |
+++ b/components/history/core/browser/history_service.cc |
@@ -937,7 +937,7 @@ void HistoryService::ScheduleAutocomplete( |
} |
void HistoryService::ScheduleTask(SchedulePriority priority, |
- base::Closure task) { |
+ base::OnceClosure task) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
CHECK(backend_task_runner_); |
// TODO(brettw): Do prioritization. |