| Index: trunk/src/chrome/browser/history/top_sites_impl_unittest.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/history/top_sites_impl_unittest.cc (revision 285001)
|
| +++ trunk/src/chrome/browser/history/top_sites_impl_unittest.cc (working copy)
|
| @@ -181,9 +181,8 @@
|
| // Blocks the caller until history processes a task. This is useful if you
|
| // need to wait until you know history has processed a task.
|
| void WaitForHistory() {
|
| - history_service()->ScheduleDBTask(
|
| - scoped_ptr<history::HistoryDBTask>(new WaitForHistoryTask()),
|
| - &history_tracker_);
|
| + history_service()->ScheduleDBTask(new WaitForHistoryTask(),
|
| + &history_tracker_);
|
| base::MessageLoop::current()->Run();
|
| }
|
|
|
|
|