Index: chrome/browser/image_decoder.cc |
diff --git a/chrome/browser/image_decoder.cc b/chrome/browser/image_decoder.cc |
index c3973a5ac843fbe3709120efc63cf9935bbbb710..cb758e585e3403b2876e324ca7a562ea54ff5188 100644 |
--- a/chrome/browser/image_decoder.cc |
+++ b/chrome/browser/image_decoder.cc |
@@ -160,8 +160,8 @@ void ImageDecoder::CancelImpl(ImageRequest* image_request) { |
void ImageDecoder::StartBatchMode() { |
DCHECK_CURRENTLY_ON(BrowserThread::IO); |
utility_process_host_ = |
- UtilityProcessHost::Create(this, base::MessageLoopProxy::current().get()) |
- ->AsWeakPtr(); |
+ UtilityProcessHost::Create( |
+ this, base::ThreadTaskRunnerHandle::Get().get())->AsWeakPtr(); |
utility_process_host_->SetName(l10n_util::GetStringUTF16( |
IDS_UTILITY_PROCESS_IMAGE_DECODER_NAME)); |
if (!utility_process_host_->StartBatchMode()) { |