| 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 a78aff01616200074a4d2d85617b1ad210ff617f..5a99d90686eaa114642e59dd86a1d704029abd3d 100644
|
| --- a/chrome/service/cloud_print/print_system_win.cc
|
| +++ b/chrome/service/cloud_print/print_system_win.cc
|
| @@ -808,7 +808,7 @@ bool PrintSystemWin::GetJobDetails(const std::string& printer_name,
|
| if (ERROR_INVALID_PARAMETER != last_error) {
|
| // ERROR_INVALID_PARAMETER normally means that the job id is not valid.
|
| DCHECK(last_error == ERROR_INSUFFICIENT_BUFFER);
|
| - scoped_ptr<BYTE> job_info_buffer(new BYTE[bytes_needed]);
|
| + scoped_array<BYTE> job_info_buffer(new BYTE[bytes_needed]);
|
| if (GetJob(printer_handle, job_id, 1, job_info_buffer.get(), bytes_needed,
|
| &bytes_needed)) {
|
| JOB_INFO_1 *job_info =
|
|
|