Index: chrome/browser/sync/test/integration/bookmarks_helper.cc |
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc |
index 856797dcdde7e9849b635e759a84429ab8c5dae8..39f305d80206ab2544614b66b593dcfc4dad7a64 100644 |
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc |
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc |
@@ -223,7 +223,7 @@ void WaitForHistoryToProcessPendingTasks() { |
for (size_t i = 0; i < profiles_which_need_to_wait.size(); ++i) { |
Profile* profile = profiles_which_need_to_wait[i]; |
HistoryService* history_service = |
- HistoryServiceFactory::GetForProfileWithoutCreating(profile); |
+ HistoryServiceFactory::GetForProfileWithoutCreating(profile).get(); |
base::WaitableEvent done(false, false); |
CancelableRequestConsumer request_consumer; |
history_service->ScheduleDBTask(new HistoryEmptyTask(&done), |