summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver/win
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-11 08:08:46 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-11 08:08:46 +0000
commit26ed12742c60e0e1e9fbd002dd006fdb8385f4a9 (patch)
tree74f6d42e82044422257fd3a46cfc1e33df0c5334 /cloud_print/virtual_driver/win
parentb298787765cc78f0d20cac1a323bc087fbc3c33b (diff)
downloadchromium_src-26ed12742c60e0e1e9fbd002dd006fdb8385f4a9.zip
chromium_src-26ed12742c60e0e1e9fbd002dd006fdb8385f4a9.tar.gz
chromium_src-26ed12742c60e0e1e9fbd002dd006fdb8385f4a9.tar.bz2
Rewrite scoped_array<T> to scoped_ptr<T[]> in cloud_print.
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
Diffstat (limited to 'cloud_print/virtual_driver/win')
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
index 9c46e45..e1cc9b7 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -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,