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

Unified Diff: chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
diff --git a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
index b7ce56f3b3b577e14aa188cb9491ca926ae29117..a467ef216cb2e5a9114b8d46b2f36169201f94be 100644
--- a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
+++ b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.cc
@@ -122,10 +122,10 @@ bool SandboxedZipAnalyzer::OnMessageReceived(const IPC::Message& message) {
void SandboxedZipAnalyzer::StartProcessOnIOThread() {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- utility_process_host_ = content::UtilityProcessHost::Create(
- this,
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO).get())
- ->AsWeakPtr();
+ utility_process_host_ =
+ content::UtilityProcessHost::Create(
+ this, BrowserThread::GetTaskRunnerForThread(BrowserThread::IO).get())
+ ->AsWeakPtr();
utility_process_host_->SetName(l10n_util::GetStringUTF16(
IDS_UTILITY_PROCESS_SAFE_BROWSING_ZIP_FILE_ANALYZER_NAME));
utility_process_host_->Send(
« no previous file with comments | « chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698