Index: components/autofill/browser/webdata/autofill_webdata_service.cc |
diff --git a/components/autofill/browser/webdata/autofill_webdata_service.cc b/components/autofill/browser/webdata/autofill_webdata_service.cc |
index 9aada6be4dff06bb69762940958e0d901d40a552..8964a103a26a1c64337172a6f5507ee186f8c50d 100644 |
--- a/components/autofill/browser/webdata/autofill_webdata_service.cc |
+++ b/components/autofill/browser/webdata/autofill_webdata_service.cc |
@@ -27,7 +27,8 @@ namespace autofill { |
AutofillWebDataService::AutofillWebDataService( |
scoped_refptr<WebDatabaseService> wdbs, |
const ProfileErrorCallback& callback) |
- : WebDataServiceBase(wdbs, callback), |
+ : WebDataServiceBase(wdbs, callback, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)), |
weak_ptr_factory_(this), |
autofill_backend_(NULL) { |
@@ -41,8 +42,8 @@ AutofillWebDataService::AutofillWebDataService( |
} |
AutofillWebDataService::AutofillWebDataService() |
- : WebDataServiceBase(NULL, |
- WebDataServiceBase::ProfileErrorCallback()), |
+ : WebDataServiceBase(NULL, WebDataServiceBase::ProfileErrorCallback(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)), |
weak_ptr_factory_(this), |
autofill_backend_(new AutofillWebDataBackendImpl(NULL, base::Closure())) { |
} |