Fix building on Windows

This commit is contained in:
Cheng Zhao 2016-05-23 16:39:19 +09:00
parent 9d82041923
commit 44651656dd
4 changed files with 25 additions and 22 deletions

View file

@ -306,7 +306,7 @@ void PrintJob::OnPdfToEmfPageConverted(int page_number,
// Update the rendered document. It will send notifications to the listener.
document_->SetPage(page_number,
emf.Pass(),
std::move(emf),
scale_factor,
ptd_to_emf_state_->page_size(),
ptd_to_emf_state_->content_area());