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

Unified Diff: components/webdata/common/web_database_service.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicit Created 6 years, 5 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: components/webdata/common/web_database_service.cc
diff --git a/components/webdata/common/web_database_service.cc b/components/webdata/common/web_database_service.cc
index 61846d169e3f1ac3ccb537f72ff4c499c72dd327..829bc6252ca7d325ea16621dcc20747c12c59e74 100644
--- a/components/webdata/common/web_database_service.cc
+++ b/components/webdata/common/web_database_service.cc
@@ -41,7 +41,7 @@ WebDatabaseService::WebDatabaseService(
const base::FilePath& path,
const scoped_refptr<base::MessageLoopProxy>& ui_thread,
const scoped_refptr<base::MessageLoopProxy>& db_thread)
- : base::RefCountedDeleteOnMessageLoop<WebDatabaseService>(ui_thread),
+ : base::RefCountedDeleteOnTaskRunner<WebDatabaseService>(ui_thread),
path_(path),
db_loaded_(false),
db_thread_(db_thread),

Powered by Google App Engine
This is Rietveld 408576698