Index: components/history/core/test/history_service_test_util.cc |
diff --git a/components/history/core/test/history_service_test_util.cc b/components/history/core/test/history_service_test_util.cc |
index 012fd9e65e34f2f3c2b078e25c05b49f12b97d94..e2d01eb59c1d9d595400a39a17b260b005c16a99 100644 |
--- a/components/history/core/test/history_service_test_util.cc |
+++ b/components/history/core/test/history_service_test_util.cc |
@@ -59,7 +59,7 @@ void BlockUntilHistoryProcessesPendingRequests( |
base::RunLoop run_loop; |
base::CancelableTaskTracker tracker; |
history_service->ScheduleDBTask( |
- base::WrapUnique(new QuitTask(run_loop.QuitClosure())), &tracker); |
+ base::MakeUnique<QuitTask>(run_loop.QuitClosure()), &tracker); |
run_loop.Run(); |
// Spin the runloop again until idle. The QuitTask above is destroyed via a |