Index: chrome/browser/sync/glue/typed_url_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/typed_url_data_type_controller.cc b/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
index 88a9d238d6b557a82cd22982a1e558d5d01a705d..8f18cefd729b84ae70ccdd52f5ecf07392a65cde 100644 |
--- a/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/typed_url_data_type_controller.cc |
@@ -118,7 +118,7 @@ bool TypedUrlDataTypeController::PostTaskOnBackendThread( |
const base::Closure& task) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
HistoryService* history = HistoryServiceFactory::GetForProfile( |
- profile(), Profile::IMPLICIT_ACCESS); |
+ profile(), Profile::IMPLICIT_ACCESS).get(); |
if (history) { |
history->ScheduleDBTask(new RunTaskOnHistoryThread(task, this), |
&cancelable_consumer_); |