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

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.cc

Issue 369703003: Reduce usage of MessageLoopProxy in base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 2 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/profiles/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index a9afbb02c979d54ff4aa2d585e79a6f90116b44d..299161b8f8be4a219cfe0f4ff88fcfb7e3020a23 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -163,7 +163,7 @@ void OffTheRecordProfileIOData::Handle::LazyInitialize() const {
#if defined(FULL_SAFE_BROWSING) || defined(MOBILE_SAFE_BROWSING)
io_data_->safe_browsing_enabled()->Init(prefs::kSafeBrowsingEnabled,
profile_->GetPrefs());
- io_data_->safe_browsing_enabled()->MoveToThread(
+ io_data_->safe_browsing_enabled()->UseAlternateTaskRunner(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO));
#endif
io_data_->InitializeOnUIThread(profile_);
« no previous file with comments | « chrome/browser/plugins/plugin_info_message_filter.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698