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

Unified Diff: chrome/common/json_pref_store.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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
« no previous file with comments | « chrome/common/important_file_writer_unittest.cc ('k') | chrome/common/json_pref_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/json_pref_store.cc
diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc
index ede2eeda68d1a0567b9cf8d13d1012615e4b0991..f3bd776dce11acb11d5dda4a116f3ce9ae683929 100644
--- a/chrome/common/json_pref_store.cc
+++ b/chrome/common/json_pref_store.cc
@@ -30,7 +30,7 @@ class FileThreadDeserializer
error_(PersistentPrefStore::PREF_READ_ERROR_NONE),
delegate_(delegate),
file_loop_proxy_(file_loop_proxy),
- origin_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ origin_loop_proxy_(base::MessageLoopProxy::current()) {
}
void Start(const FilePath& path) {
« no previous file with comments | « chrome/common/important_file_writer_unittest.cc ('k') | chrome/common/json_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698