Index: base/message_loop/message_pump_perftest.cc |
diff --git a/base/message_loop/message_pump_perftest.cc b/base/message_loop/message_pump_perftest.cc |
index 1f6cb66392be27bb17518745d68b151f3ae0661a..c5684253e9e5505d18c11f0664644b37381d2132 100644 |
--- a/base/message_loop/message_pump_perftest.cc |
+++ b/base/message_loop/message_pump_perftest.cc |
@@ -84,14 +84,15 @@ class ScheduleWorkTest : public testing::Test { |
target_->WaitUntilThreadStarted(); |
} |
- ScopedVector<Thread> scheduling_threads; |
+ std::vector<scoped_ptr<Thread>> scheduling_threads; |
scheduling_times_.reset(new base::TimeDelta[num_scheduling_threads]); |
scheduling_thread_times_.reset(new base::TimeDelta[num_scheduling_threads]); |
min_batch_times_.reset(new base::TimeDelta[num_scheduling_threads]); |
max_batch_times_.reset(new base::TimeDelta[num_scheduling_threads]); |
for (int i = 0; i < num_scheduling_threads; ++i) { |
- scheduling_threads.push_back(new Thread("posting thread")); |
+ scheduling_threads.push_back( |
+ make_scoped_ptr(new Thread("posting thread"))); |
scheduling_threads[i]->Start(); |
} |