Fix building on Windows
This commit is contained in:
parent
c81de98d22
commit
53b9d61831
5 changed files with 5 additions and 6 deletions
|
@ -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().
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#if defined(OS_WIN)
|
||||
// A vector of filters, each being a Tuple containing a display string (i.e.
|
||||
// "Text Files") and a filter pattern (i.e. "*.txt").
|
||||
typedef std::vector<Tuple<base::string16, base::string16>>
|
||||
typedef std::vector<base::Tuple<base::string16, base::string16>>
|
||||
GetOpenFileNameFilter;
|
||||
#endif // OS_WIN
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue