| Index: components/timers/alarm_timer_chromeos.cc
|
| diff --git a/components/timers/alarm_timer_chromeos.cc b/components/timers/alarm_timer_chromeos.cc
|
| index 57b1c0c0918f9bec81a920e35249eedec8ec512e..0cb25fafd876312d40cb27fb572e0b7037ddc747 100644
|
| --- a/components/timers/alarm_timer_chromeos.cc
|
| +++ b/components/timers/alarm_timer_chromeos.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stdint.h>
|
| #include <sys/timerfd.h>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -425,7 +426,7 @@ void AlarmTimer::OnTimerFired() {
|
|
|
| // Take ownership of the pending user task, which is going to be cleared by
|
| // the Stop() or Reset() functions below.
|
| - scoped_ptr<base::PendingTask> pending_user_task(pending_task_.Pass());
|
| + scoped_ptr<base::PendingTask> pending_user_task(std::move(pending_task_));
|
|
|
| // Re-schedule or stop the timer as requested.
|
| if (base::Timer::is_repeating())
|
|
|