| Index: sync/engine/sync_scheduler_impl.cc
|
| diff --git a/sync/engine/sync_scheduler_impl.cc b/sync/engine/sync_scheduler_impl.cc
|
| index 4353be0752195af7aee3fe79c3647dfd6b7cd3cb..d008b422018c24fafd5237257633a199af2afad5 100644
|
| --- a/sync/engine/sync_scheduler_impl.cc
|
| +++ b/sync/engine/sync_scheduler_impl.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <algorithm>
|
| #include <cstring>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -422,8 +423,8 @@ void SyncSchedulerImpl::ScheduleInvalidationNudge(
|
| SDVLOG_LOC(nudge_location, 2)
|
| << "Scheduling sync because we received invalidation for "
|
| << ModelTypeToString(model_type);
|
| - base::TimeDelta nudge_delay =
|
| - nudge_tracker_.RecordRemoteInvalidation(model_type, invalidation.Pass());
|
| + base::TimeDelta nudge_delay = nudge_tracker_.RecordRemoteInvalidation(
|
| + model_type, std::move(invalidation));
|
| ScheduleNudgeImpl(nudge_delay, nudge_location);
|
| }
|
|
|
|
|