| Index: components/timers/alarm_timer_unittest.cc
|
| diff --git a/components/timers/alarm_timer_unittest.cc b/components/timers/alarm_timer_unittest.cc
|
| index 14c55a9fc7bdff6dfec4068c9c57aaa976693fad..69ac9d362b13654a3595a75059792327afe2d7bc 100644
|
| --- a/components/timers/alarm_timer_unittest.cc
|
| +++ b/components/timers/alarm_timer_unittest.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include <sys/timerfd.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| #include "base/macros.h"
|
| @@ -57,7 +59,7 @@ class OneShotAlarmTimerTester {
|
|
|
| bool* did_run_;
|
| const base::TimeDelta delay_;
|
| - scoped_ptr<timers::OneShotAlarmTimer> timer_;
|
| + std::unique_ptr<timers::OneShotAlarmTimer> timer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(OneShotAlarmTimerTester);
|
| };
|
| @@ -85,7 +87,7 @@ class OneShotSelfDeletingAlarmTimerTester {
|
|
|
| bool* did_run_;
|
| const base::TimeDelta delay_;
|
| - scoped_ptr<timers::OneShotAlarmTimer> timer_;
|
| + std::unique_ptr<timers::OneShotAlarmTimer> timer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(OneShotSelfDeletingAlarmTimerTester);
|
| };
|
| @@ -116,7 +118,7 @@ class RepeatingAlarmTimerTester {
|
| bool* did_run_;
|
| const base::TimeDelta delay_;
|
| int counter_;
|
| - scoped_ptr<timers::RepeatingAlarmTimer> timer_;
|
| + std::unique_ptr<timers::RepeatingAlarmTimer> timer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RepeatingAlarmTimerTester);
|
| };
|
|
|