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

Unified Diff: tools/crashpad_database_util.cc

Issue 1483073004: Replace use of .Pass() with crashpad::move(). (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: pass: . Created 5 years, 1 month 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 | « test/win/win_child_process.cc ('k') | util/mach/child_port_handshake.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/crashpad_database_util.cc
diff --git a/tools/crashpad_database_util.cc b/tools/crashpad_database_util.cc
index 433b47693b990e7888471b1e73564aff607c8555..50666f262270bd99ca21c29f8b0c5987324e901f 100644
--- a/tools/crashpad_database_util.cc
+++ b/tools/crashpad_database_util.cc
@@ -36,6 +36,7 @@
#include "tools/tool_support.h"
#include "util/file/file_io.h"
#include "util/file/file_reader.h"
+#include "util/stdlib/move.h"
#include "util/misc/uuid.h"
namespace crashpad {
@@ -552,7 +553,7 @@ int DatabaseUtilMain(int argc, char* argv[]) {
return EXIT_FAILURE;
}
- file_reader = file_path_reader.Pass();
+ file_reader = crashpad::move(file_path_reader);
}
CrashReportDatabase::NewReport* new_report;
« no previous file with comments | « test/win/win_child_process.cc ('k') | util/mach/child_port_handshake.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698