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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.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/drive_backend/sync_engine_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
index 84b47b7d05f2db6a2ba2c81c263048a586d7ffef..445a1ebe110ca4cc79d9d30b7e690d8d45dc5ab5 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/sync_file_system/drive_backend/sync_engine.h"
#include <stddef.h>
+#include <utility>
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h"
@@ -61,7 +62,7 @@ class SyncEngineTest : public testing::Test,
nullptr)); // in_memory_env
sync_engine_->InitializeForTesting(
- fake_drive_service.Pass(),
+ std::move(fake_drive_service),
nullptr, // drive_uploader
scoped_ptr<SyncWorkerInterface>(new FakeSyncWorker));
sync_engine_->SetSyncEnabled(true);

Powered by Google App Engine
This is Rietveld 408576698