Index: trunk/src/chrome/browser/sync/test/integration/bookmarks_helper.cc |
=================================================================== |
--- trunk/src/chrome/browser/sync/test/integration/bookmarks_helper.cc (revision 285001) |
+++ trunk/src/chrome/browser/sync/test/integration/bookmarks_helper.cc (working copy) |
@@ -268,10 +268,7 @@ |
HistoryServiceFactory::GetForProfileWithoutCreating(profile); |
base::WaitableEvent done(false, false); |
base::CancelableTaskTracker task_tracker; |
- history_service->ScheduleDBTask( |
- scoped_ptr<history::HistoryDBTask>( |
- new HistoryEmptyTask(&done)), |
- &task_tracker); |
+ history_service->ScheduleDBTask(new HistoryEmptyTask(&done), &task_tracker); |
done.Wait(); |
} |
// Wait such that any notifications broadcast from one of the history threads |