Index: chrome/browser/webdata/web_data_service.cc |
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc |
index 4c8a2c27c4e9b44de7ae3b4c8c1e8f993afe2f75..15dd155e363416730601cd3ba50dde44a33061ab 100644 |
--- a/chrome/browser/webdata/web_data_service.cc |
+++ b/chrome/browser/webdata/web_data_service.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/webdata/web_data_service.h" |
+#include "base/bind.h" |
#include "base/stl_util.h" |
#include "chrome/browser/search_engines/template_url.h" |
#include "chrome/browser/webdata/keyword_table.h" |
@@ -13,6 +14,7 @@ |
#include "chrome/browser/webdata/web_intents_table.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "components/webdata/common/web_database_service.h" |
+#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
@@ -41,7 +43,8 @@ WDKeywordsResult::~WDKeywordsResult() {} |
WebDataService::WebDataService(scoped_refptr<WebDatabaseService> wdbs, |
const ProfileErrorCallback& callback) |
- : WebDataServiceBase(wdbs, callback) { |
+ : WebDataServiceBase(wdbs, callback, |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)) { |
} |
////////////////////////////////////////////////////////////////////////////// |
@@ -115,7 +118,8 @@ WebDataServiceBase::Handle WebDataService::GetWebAppImages( |
//////////////////////////////////////////////////////////////////////////////// |
WebDataService::WebDataService() |
- : WebDataServiceBase(NULL, ProfileErrorCallback()) { |
+ : WebDataServiceBase(NULL, ProfileErrorCallback(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)) { |
} |
WebDataService::~WebDataService() { |