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

Unified Diff: content/browser/storage_partition_impl_map_unittest.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (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
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/streams/stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/storage_partition_impl_map_unittest.cc
diff --git a/content/browser/storage_partition_impl_map_unittest.cc b/content/browser/storage_partition_impl_map_unittest.cc
index b28902f1165411a8ba29cfa46c7013429f7de2b7..2659b8e3374595b69ea5a9c934804a913e8afecf 100644
--- a/content/browser/storage_partition_impl_map_unittest.cc
+++ b/content/browser/storage_partition_impl_map_unittest.cc
@@ -4,6 +4,8 @@
#include "content/browser/storage_partition_impl_map.h"
+#include <utility>
+
#include "base/files/file_util.h"
#include "base/run_loop.h"
#include "content/public/browser/browser_thread.h"
@@ -82,8 +84,8 @@ TEST(StoragePartitionImplMapTest, GarbageCollect) {
ASSERT_TRUE(base::CreateDirectory(inactive_path));
base::RunLoop run_loop;
- storage_partition_impl_map.GarbageCollect(
- active_paths.Pass(), run_loop.QuitClosure());
+ storage_partition_impl_map.GarbageCollect(std::move(active_paths),
+ run_loop.QuitClosure());
run_loop.Run();
BrowserThread::GetBlockingPool()->FlushForTesting();
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/browser/streams/stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698