Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4753)

Unified Diff: chrome/browser/webdata/web_data_service_factory.cc

Issue 16938006: Adds RefCountedDeleteOnMessageLoop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update the gyp file Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/webdata/web_data_service_factory.cc
diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
index 91ec3beb6dc864a98cdac1e50a53efa0da568b0a..305931d85a8d40556116eaef884965ccd8c30e31 100644
--- a/chrome/browser/webdata/web_data_service_factory.cc
+++ b/chrome/browser/webdata/web_data_service_factory.cc
@@ -69,7 +69,8 @@ WebDataServiceWrapper::WebDataServiceWrapper(Profile* profile) {
base::FilePath profile_path = profile->GetPath();
base::FilePath path = profile_path.Append(kWebDataFilename);
- web_database_ = new WebDatabaseService(path);
+ web_database_ = new WebDatabaseService(path,
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI));
// All tables objects that participate in managing the database must
// be added here.

Powered by Google App Engine
This is Rietveld 408576698