| Index: remoting/host/backoff_timer.h
|
| diff --git a/remoting/host/backoff_timer.h b/remoting/host/backoff_timer.h
|
| index 2750ebdda03800a67b339e2c59b5b15d06aee91e..474afcce38b6a99e61b1d5733a7b55e7525ee1fc 100644
|
| --- a/remoting/host/backoff_timer.h
|
| +++ b/remoting/host/backoff_timer.h
|
| @@ -32,7 +32,9 @@ class BackoffTimer {
|
| // Returns true if the user task may be invoked in the future.
|
| bool IsRunning() const { return backoff_entry_; }
|
|
|
| - void SetTimerForTest(scoped_ptr<base::Timer> timer) { timer_ = timer.Pass(); }
|
| + void SetTimerForTest(scoped_ptr<base::Timer> timer) {
|
| + timer_ = std::move(timer);
|
| + }
|
|
|
| private:
|
| void StartTimer();
|
|
|