| Index: chrome/browser/history/history_browsertest.cc
|
| diff --git a/chrome/browser/history/history_browsertest.cc b/chrome/browser/history/history_browsertest.cc
|
| index 507ec291ba6cb68122ee0820f6fef12f50eafa8f..49e813cc922f2001238e9d907b5b498c1842c1cb 100644
|
| --- a/chrome/browser/history/history_browsertest.cc
|
| +++ b/chrome/browser/history/history_browsertest.cc
|
| @@ -86,12 +86,12 @@ class HistoryBrowserTest : public InProcessBrowserTest {
|
| }
|
|
|
| void WaitForHistoryBackendToRun() {
|
| - CancelableRequestConsumerTSimple<int> request_consumer;
|
| + base::CancelableTaskTracker task_tracker;
|
| scoped_refptr<history::HistoryDBTask> task(new WaitForHistoryTask());
|
| HistoryService* history =
|
| HistoryServiceFactory::GetForProfile(GetProfile(),
|
| Profile::EXPLICIT_ACCESS);
|
| - history->HistoryService::ScheduleDBTask(task.get(), &request_consumer);
|
| + history->HistoryService::ScheduleDBTask(task.get(), &task_tracker);
|
| content::RunMessageLoop();
|
| }
|
|
|
|
|