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

Unified Diff: client/settings.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 | « client/crashpad_client_mac.cc ('k') | handler/crash_report_upload_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/settings.cc
diff --git a/client/settings.cc b/client/settings.cc
index 32297811805caeb37030afd9a152204110931fa0..e7ff2a90e7d3af274fba40dd5c1290e7870be84b 100644
--- a/client/settings.cc
+++ b/client/settings.cc
@@ -18,6 +18,7 @@
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
+#include "util/stdlib/move.h"
#include "util/numeric/in_range_cast.h"
namespace crashpad {
@@ -235,7 +236,7 @@ Settings::ScopedLockedFileHandle Settings::OpenForWritingAndReadSettings(
return ScopedLockedFileHandle();
}
- return handle.Pass();
+ return handle;
}
bool Settings::ReadSettings(FileHandle handle,
« no previous file with comments | « client/crashpad_client_mac.cc ('k') | handler/crash_report_upload_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698