Index: components/sync/engine_impl/cycle/sync_cycle.cc |
diff --git a/components/sync/engine_impl/cycle/sync_cycle.cc b/components/sync/engine_impl/cycle/sync_cycle.cc |
index d56f9dba50333a33c107007e4da00a5c29bcc616..a94c0d5a7872a6c7a5d2af66d5e7c907a8c0aa09 100644 |
--- a/components/sync/engine_impl/cycle/sync_cycle.cc |
+++ b/components/sync/engine_impl/cycle/sync_cycle.cc |
@@ -8,6 +8,7 @@ |
#include <iterator> |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "components/sync/syncable/directory.h" |
namespace syncer { |
@@ -19,7 +20,7 @@ SyncCycle* SyncCycle::Build(SyncCycleContext* context, Delegate* delegate) { |
SyncCycle::SyncCycle(SyncCycleContext* context, Delegate* delegate) |
: context_(context), delegate_(delegate) { |
- status_controller_.reset(new StatusController()); |
+ status_controller_ = base::MakeUnique<StatusController>(); |
} |
SyncCycle::~SyncCycle() {} |