Index: base/process_util_unittest.cc |
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc |
index 4c1eff438c12554d440c70788b1a7cb9114f4d4b..fff2c688e4fdb17767b1212ce0674f15fdf28446 100644 |
--- a/base/process_util_unittest.cc |
+++ b/base/process_util_unittest.cc |
@@ -441,7 +441,7 @@ TEST_F(ProcessUtilTest, CalcFreeMemory) { |
// Allocate 20M and check again. It should have gone down. |
const int kAllocMB = 20; |
- scoped_array<char> alloc(new char[kAllocMB * 1024 * 1024]); |
+ scoped_ptr<char[]> alloc(new char[kAllocMB * 1024 * 1024]); |
size_t expected_total = free_mem1.total - kAllocMB; |
size_t expected_largest = free_mem1.largest; |