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

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: more80cols-and-fix-move 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
Index: client/settings.cc
diff --git a/client/settings.cc b/client/settings.cc
index 32297811805caeb37030afd9a152204110931fa0..4194cf6bbf05ba3453f30a7d6d5871befca8bd5a 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/misc/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,

Powered by Google App Engine
This is Rietveld 408576698