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

Unified Diff: test/win/win_child_process.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 | « snapshot/test/test_thread_snapshot.h ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/win_child_process.cc
diff --git a/test/win/win_child_process.cc b/test/win/win_child_process.cc
index 1f11bc781c472f63033b40a069ef9af7c48f6f8e..41cacfa78a289d2a0827ba8ab0def68e645164ca 100644
--- a/test/win/win_child_process.cc
+++ b/test/win/win_child_process.cc
@@ -18,12 +18,12 @@
#include <shellapi.h>
#include <string>
+#include <utility>
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "gtest/gtest.h"
-#include "util/stdlib/move.h"
#include "util/stdlib/string_number_conversion.h"
#include "util/string/split_string.h"
#include "util/win/handle.h"
@@ -126,8 +126,8 @@ bool CreateInheritablePipe(ScopedFileHANDLE* read_handle,
if (!write_inheritable && !UnsetHandleInheritance(temp_write.get()))
return false;
- *read_handle = crashpad::move(temp_read);
- *write_handle = crashpad::move(temp_write);
+ *read_handle = std::move(temp_read);
+ *write_handle = std::move(temp_write);
return true;
}
@@ -213,7 +213,7 @@ scoped_ptr<WinChildProcess::Handles> WinChildProcess::Launch() {
return scoped_ptr<Handles>();
}
- return crashpad::move(handles_for_parent);
+ return std::move(handles_for_parent);
}
FileHandle WinChildProcess::ReadPipeHandle() const {
« no previous file with comments | « snapshot/test/test_thread_snapshot.h ('k') | tools/crashpad_database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698