summaryrefslogtreecommitdiffstats
path: root/sandbox/win/src/win_utils.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 22:26:07 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 22:26:07 +0000
commite9d2ba6f66503b29f50fae511b57500a3d782ae1 (patch)
tree3d62ede2647f823ac4a0191712f0836b280e48fe /sandbox/win/src/win_utils.cc
parent36a4a54f15cfbe07371e4c2bdcf1d61ad557bb80 (diff)
downloadchromium_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/win_utils.cc')
-rw-r--r--sandbox/win/src/win_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/win/src/win_utils.cc b/sandbox/win/src/win_utils.cc
index 8e63ac7..f5c479a 100644
--- a/sandbox/win/src/win_utils.cc
+++ b/sandbox/win/src/win_utils.cc
@@ -191,7 +191,7 @@ bool ConvertToLongPath(const std::wstring& short_path,
}
DWORD size = MAX_PATH;
- scoped_array<wchar_t> long_path_buf(new wchar_t[size]);
+ scoped_ptr<wchar_t[]> long_path_buf(new wchar_t[size]);
DWORD return_value = ::GetLongPathName(path.c_str(), long_path_buf.get(),
size);