| Index: components/sync/engine_impl/directory_update_handler.cc
|
| diff --git a/components/sync/engine_impl/directory_update_handler.cc b/components/sync/engine_impl/directory_update_handler.cc
|
| index 495346cf79eb9fced6677ae07e243eeccae0a15e..7b71cf6e90c79b98a4eb23619f1407bbd20d41bb 100644
|
| --- a/components/sync/engine_impl/directory_update_handler.cc
|
| +++ b/components/sync/engine_impl/directory_update_handler.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <utility>
|
| #include <vector>
|
|
|
| #include "base/memory/ptr_util.h"
|
| @@ -127,7 +128,7 @@ void DirectoryUpdateHandler::ApplyUpdates(StatusController* status) {
|
| // We wait until the callback is executed. We can safely use
|
| // Unretained.
|
| base::Unretained(this), base::Unretained(status));
|
| - worker_->DoWorkAndWaitUntilDone(c);
|
| + worker_->DoWorkAndWaitUntilDone(std::move(c));
|
|
|
| debug_info_emitter_->EmitUpdateCountersUpdate();
|
| debug_info_emitter_->EmitStatusCountersUpdate();
|
|
|