diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 22:26:07 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-12 22:26:07 +0000 |
commit | e9d2ba6f66503b29f50fae511b57500a3d782ae1 (patch) | |
tree | 3d62ede2647f823ac4a0191712f0836b280e48fe /sandbox/win/src/window.cc | |
parent | 36a4a54f15cfbe07371e4c2bdcf1d61ad557bb80 (diff) | |
download | chromium_src-e9d2ba6f66503b29f50fae511b57500a3d782ae1.zip chromium_src-e9d2ba6f66503b29f50fae511b57500a3d782ae1.tar.gz chromium_src-e9d2ba6f66503b29f50fae511b57500a3d782ae1.tar.bz2 |
Rewrite scoped_array<T> to scoped_ptr<T[]> in sandbox.
This is a manual cleanup pass using sed for files which are not built on
Linux.
BUG=171111
Review URL: https://chromiumcodereview.appspot.com/13888007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/win/src/window.cc')
-rw-r--r-- | sandbox/win/src/window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/win/src/window.cc b/sandbox/win/src/window.cc index 445cb17..d8de967 100644 --- a/sandbox/win/src/window.cc +++ b/sandbox/win/src/window.cc @@ -111,7 +111,7 @@ std::wstring GetWindowObjectName(HANDLE handle) { } // Create the buffer that will hold the name. - scoped_array<wchar_t> name_buffer(new wchar_t[size]); + scoped_ptr<wchar_t[]> name_buffer(new wchar_t[size]); // Query the name of the object. if (!::GetUserObjectInformation(handle, UOI_NAME, name_buffer.get(), size, |