Index: android_webview/browser/aw_form_database_service.cc |
diff --git a/android_webview/browser/aw_form_database_service.cc b/android_webview/browser/aw_form_database_service.cc |
index d08ed0e2da2301372c2b9187b80a974f77b36d89..91f4c65fe5223ccfb7a1d74e339c64aa9424dcfc 100644 |
--- a/android_webview/browser/aw_form_database_service.cc |
+++ b/android_webview/browser/aw_form_database_service.cc |
@@ -28,7 +28,8 @@ AwFormDatabaseService::AwFormDatabaseService(const base::FilePath path) |
has_form_data_(false), |
completion_(false, false) { |
- web_database_ = new WebDatabaseService(path.Append(kWebDataFilename)); |
+ web_database_ = new WebDatabaseService(path.Append(kWebDataFilename), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)); |
web_database_->AddTable( |
scoped_ptr<WebDatabaseTable>(new autofill::AutofillTable( |
l10n_util::GetDefaultLocale()))); |