Skip to content

Commit

Permalink
Rewrite scoped_array<T> to scoped_ptr<T[]> in cloud_print.
Browse files Browse the repository at this point in the history
This is a manual cleanup pass using sed for files which are not built on
Linux.

BUG=171111


Review URL: https://chromiumcodereview.appspot.com/13842004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193600 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
dcheng@chromium.org committed Apr 11, 2013
1 parent b298787 commit 26ed127
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ bool GetJobTitle(HANDLE printer_handle,
LOG(ERROR) << "Unable to get bytes needed for job info.";
return false;
}
scoped_array<BYTE> buffer(new BYTE[bytes_needed]);
scoped_ptr<BYTE[]> buffer(new BYTE[bytes_needed]);
if (!GetJob(printer_handle,
job_id,
1,
Expand Down

0 comments on commit 26ed127

Please sign in to comment.