diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-18 14:21:58 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-18 14:21:58 +0000 |
commit | 604eb05b99b6098d36abadd2c1c2b6a1a79b705a (patch) | |
tree | a57ea3e89c68cc897af73baaf536ddfe38fda8b1 /base/linux_util.cc | |
parent | 64c25e10e8d8e53c536c322d274765cb93eaca77 (diff) | |
download | chromium_src-604eb05b99b6098d36abadd2c1c2b6a1a79b705a.zip chromium_src-604eb05b99b6098d36abadd2c1c2b6a1a79b705a.tar.gz chromium_src-604eb05b99b6098d36abadd2c1c2b6a1a79b705a.tar.bz2 |
base: Convert scoped_arrays to the new scoped_ptr style.
BUG=109874
R=darin@chromium.org,ajwong@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11961021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177670 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r-- | base/linux_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc index 49df773..660ea19 100644 --- a/base/linux_util.cc +++ b/base/linux_util.cc @@ -277,7 +277,7 @@ pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data, } closedir(task); - scoped_array<char> syscall_data(new char[expected_data.length()]); + scoped_ptr<char[]> syscall_data(new char[expected_data.length()]); for (std::vector<pid_t>::const_iterator i = tids.begin(); i != tids.end(); ++i) { const pid_t current_tid = *i; |