Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: chrome/browser/sync_file_system/local/local_file_change_tracker.cc

Issue 1545283002: Convert Pass()→std::move() in //chrome/browser/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698