diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-11 04:48:01 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-11 04:48:01 +0000 |
commit | fb3a97c2eaabc8d3e8dfc36dc7ed5e3fceae2646 (patch) | |
tree | 1506b6cb5a367e05ffb6f0d1eb4b41bb69e17d83 /printing/printing_context_win_unittest.cc | |
parent | fd895ffa0fe087656cc8294db14bc8031def805c (diff) | |
download | chromium_src-fb3a97c2eaabc8d3e8dfc36dc7ed5e3fceae2646.zip chromium_src-fb3a97c2eaabc8d3e8dfc36dc7ed5e3fceae2646.tar.gz chromium_src-fb3a97c2eaabc8d3e8dfc36dc7ed5e3fceae2646.tar.bz2 |
Rewrite scoped_array<T> to scoped_ptr<T[]> in printing.
This is a manual cleanup pass using sed for files which are not built on
Linux.
BUG=171111
Review URL: https://chromiumcodereview.appspot.com/14115002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193577 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win_unittest.cc')
-rw-r--r-- | printing/printing_context_win_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printing_context_win_unittest.cc b/printing/printing_context_win_unittest.cc index 2251e64..5c6d166 100644 --- a/printing/printing_context_win_unittest.cc +++ b/printing/printing_context_win_unittest.cc @@ -50,7 +50,7 @@ HRESULT WINAPI PrintDlgExMock(LPPRINTDLGEX lppd) { if (!OpenPrinter(const_cast<wchar_t*>(printer_name.c_str()), &printer, NULL)) return E_FAIL; - scoped_array<uint8> buffer; + scoped_ptr<uint8[]> buffer; const DEVMODE* dev_mode = NULL; HRESULT result = S_OK; lppd->hDC = NULL; |