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

Unified Diff: client/crashpad_client_mac.cc

Issue 1513573005: Provide std::move() in compat instead of using crashpad::move() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@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 | « client/crash_report_database_win.cc ('k') | client/settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/crashpad_client_mac.cc
diff --git a/client/crashpad_client_mac.cc b/client/crashpad_client_mac.cc
index 4a3673fb70f2a40ffe3026505f7a3f7c2939dc94..cce11d1eb0f59cefec059d594eafe574960c7809 100644
--- a/client/crashpad_client_mac.cc
+++ b/client/crashpad_client_mac.cc
@@ -20,6 +20,8 @@
#include <sys/wait.h>
#include <unistd.h>
+#include <utility>
+
#include "base/logging.h"
#include "base/mac/mach_logging.h"
#include "base/posix/eintr_wrapper.h"
@@ -32,7 +34,6 @@
#include "util/mach/notify_server.h"
#include "util/misc/clock.h"
#include "util/misc/implicit_cast.h"
-#include "util/stdlib/move.h"
#include "util/posix/close_multiple.h"
namespace crashpad {
@@ -159,7 +160,7 @@ class HandlerStarter final : public NotifyServer::DefaultInterface {
url,
annotations,
arguments,
- crashpad::move(receive_right),
+ std::move(receive_right),
handler_restarter.get(),
false)) {
return base::mac::ScopedMachSendRight();
@@ -539,7 +540,7 @@ bool CrashpadClient::StartHandler(
return false;
}
- SetHandlerMachPort(crashpad::move(exception_port));
+ SetHandlerMachPort(std::move(exception_port));
return true;
}
@@ -549,14 +550,14 @@ bool CrashpadClient::SetHandlerMachService(const std::string& service_name) {
return false;
}
- SetHandlerMachPort(crashpad::move(exception_port));
+ SetHandlerMachPort(std::move(exception_port));
return true;
}
void CrashpadClient::SetHandlerMachPort(
base::mac::ScopedMachSendRight exception_port) {
DCHECK(exception_port.is_valid());
- exception_port_ = crashpad::move(exception_port);
+ exception_port_ = std::move(exception_port);
}
bool CrashpadClient::UseHandler() {
« no previous file with comments | « client/crash_report_database_win.cc ('k') | client/settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698