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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database_unittest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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/safe_browsing/safe_browsing_database_unittest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
index f010d59e8a7238c0b74983bf0bb852e08e4f1e32..19484443f4bbb7dbe6bc9860ac03afb8ec1f3b7a 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
@@ -7,6 +7,7 @@
#include "chrome/browser/safe_browsing/safe_browsing_database.h"
#include <stddef.h>
+#include <utility>
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
@@ -79,7 +80,7 @@ scoped_ptr<SBChunkData> BuildChunk(int chunk_number,
raw_data->add_add_numbers(add_chunk_numbers[i]);
}
- return make_scoped_ptr(new SBChunkData(raw_data.Pass()));
+ return make_scoped_ptr(new SBChunkData(std::move(raw_data)));
}
// Create add chunk with a single prefix.

Powered by Google App Engine
This is Rietveld 408576698