| Index: remoting/host/backoff_timer_unittest.cc
|
| diff --git a/remoting/host/backoff_timer_unittest.cc b/remoting/host/backoff_timer_unittest.cc
|
| index 0dfb9d7ce67c2da3c73b1b42f3c5893765c79328..fe52bcdb788cbde93075aab5abda7586e2af1800 100644
|
| --- a/remoting/host/backoff_timer_unittest.cc
|
| +++ b/remoting/host/backoff_timer_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "remoting/host/backoff_timer.h"
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/timer/mock_timer.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -20,7 +21,7 @@ void IncrementCounter(int* counter) {
|
| TEST(BackoffTimer, Basic) {
|
| base::MockTimer* mock_timer = new base::MockTimer(false, false);
|
| BackoffTimer backoff_timer;
|
| - backoff_timer.SetTimerForTest(make_scoped_ptr(mock_timer));
|
| + backoff_timer.SetTimerForTest(base::WrapUnique(mock_timer));
|
| ASSERT_FALSE(backoff_timer.IsRunning());
|
|
|
| int counter = 0;
|
|
|