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

Unified Diff: content/test/test_content_client.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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/test/layouttest_support.cc ('k') | content/test/test_navigation_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_content_client.cc
diff --git a/content/test/test_content_client.cc b/content/test/test_content_client.cc
index 57db682d88bf86f51d7be45d4184a45adddfb1d6..edca49c20096908251ca8088590350320db466d1 100644
--- a/content/test/test_content_client.cc
+++ b/content/test/test_content_client.cc
@@ -4,6 +4,8 @@
#include "content/test/test_content_client.h"
+#include <utility>
+
#include "base/base_paths.h"
#include "base/files/file_path.h"
#include "base/logging.h"
@@ -39,7 +41,7 @@ TestContentClient::TestContentClient()
#endif // defined(OS_ANDROID)
if (pak_file.IsValid()) {
- data_pack_.LoadFromFileRegion(pak_file.Pass(), pak_region);
+ data_pack_.LoadFromFileRegion(std::move(pak_file), pak_region);
} else {
content_shell_pack_path = content_shell_pack_path.Append(
FILE_PATH_LITERAL("content_shell.pak"));
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_navigation_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698