Fix building on Windows

This commit is contained in:
Cheng Zhao 2015-09-03 20:07:29 +08:00
parent c81de98d22
commit 53b9d61831
5 changed files with 5 additions and 6 deletions

View file

@ -296,8 +296,7 @@ void PdfToEmfUtilityProcessHostClient::Start(
// generate when sent to a metafile DC.
utility_process_host_ =
content::UtilityProcessHost::Create(
this, base::MessageLoop::current()->message_loop_proxy())
->AsWeakPtr();
this, base::MessageLoop::current()->task_runner())->AsWeakPtr();
if (!utility_process_host_)
return OnFailed();
// Should reply with OnProcessStarted().