Index: chrome/service/cloud_print/print_system_win.cc |
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc |
index 3f15320c9106f2300874513659725683d6516244..d299ac9b3e60d186efdb6e731603550ea31242fa 100644 |
--- a/chrome/service/cloud_print/print_system_win.cc |
+++ b/chrome/service/cloud_print/print_system_win.cc |
@@ -477,8 +477,8 @@ class JobSpoolerWin : public PrintSystem::JobSpooler { |
base::UTF8ToWide(printer_name).c_str(), |
base::UTF8ToWide(job_title).c_str(), nullptr, |
job_progress_event_.Get(), nullptr, nullptr, 0, |
- xps_print_job_.Receive(), doc_stream.Receive(), |
- print_ticket_stream.Receive()))) { |
+ xps_print_job_.GetAddressOf(), doc_stream.GetAddressOf(), |
+ print_ticket_stream.GetAddressOf()))) { |
return false; |
} |
@@ -730,7 +730,7 @@ bool PrintSystemWin::ValidatePrintTicket( |
&provider); |
if (provider) { |
base::win::ScopedComPtr<IStream> print_ticket_stream; |
- CreateStreamOnHGlobal(NULL, TRUE, print_ticket_stream.Receive()); |
+ CreateStreamOnHGlobal(NULL, TRUE, print_ticket_stream.GetAddressOf()); |
ULONG bytes_written = 0; |
print_ticket_stream->Write(print_ticket_data.c_str(), |
print_ticket_data.length(), |
@@ -741,7 +741,7 @@ bool PrintSystemWin::ValidatePrintTicket( |
print_ticket_stream->Seek(pos, STREAM_SEEK_SET, &new_pos); |
base::win::ScopedBstr error; |
base::win::ScopedComPtr<IStream> result_ticket_stream; |
- CreateStreamOnHGlobal(NULL, TRUE, result_ticket_stream.Receive()); |
+ CreateStreamOnHGlobal(NULL, TRUE, result_ticket_stream.GetAddressOf()); |
ret = SUCCEEDED(printing::XPSModule::MergeAndValidatePrintTicket( |
provider, |
print_ticket_stream.Get(), |