Index: chrome/browser/sync_file_system/local/local_file_change_tracker.cc |
diff --git a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc |
index e67d97b6bca5da03f9ef5db255bdd6742a7dd6c4..83334300e250c6c34c37ac167794e5f861ea29d0 100644 |
--- a/chrome/browser/sync_file_system/local/local_file_change_tracker.cc |
+++ b/chrome/browser/sync_file_system/local/local_file_change_tracker.cc |
@@ -5,8 +5,8 @@ |
#include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
#include <stddef.h> |
- |
#include <queue> |
+#include <utility> |
#include "base/location.h" |
#include "base/logging.h" |
@@ -302,7 +302,7 @@ void LocalFileChangeTracker::ResetForFileSystem(const GURL& origin, |
// Fail to apply batch to database wouldn't have critical effect, they'll be |
// just marked deleted on next relaunch. |
- tracker_db_->WriteBatch(batch.Pass()); |
+ tracker_db_->WriteBatch(std::move(batch)); |
UpdateNumChanges(); |
} |