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

Unified Diff: snapshot/test/test_thread_snapshot.h

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_process_snapshot.h ('k') | test/win/win_child_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/test/test_thread_snapshot.h
diff --git a/snapshot/test/test_thread_snapshot.h b/snapshot/test/test_thread_snapshot.h
index 49a10c652effe6de0ab9208a6b8f8a790f433afd..29e3f5fbf966680ed540b1aebda73a7edddb140d 100644
--- a/snapshot/test/test_thread_snapshot.h
+++ b/snapshot/test/test_thread_snapshot.h
@@ -17,6 +17,7 @@
#include <stdint.h>
+#include <utility>
#include <vector>
#include "base/basictypes.h"
@@ -24,7 +25,6 @@
#include "snapshot/cpu_context.h"
#include "snapshot/memory_snapshot.h"
#include "snapshot/thread_snapshot.h"
-#include "util/stdlib/move.h"
#include "util/stdlib/pointer_container.h"
namespace crashpad {
@@ -56,9 +56,7 @@ class TestThreadSnapshot final : public ThreadSnapshot {
//!
//! \param[in] stack The memory region that Stack() will return. The
//! TestThreadSnapshot object takes ownership of \a stack.
- void SetStack(scoped_ptr<MemorySnapshot> stack) {
- stack_ = crashpad::move(stack);
- }
+ void SetStack(scoped_ptr<MemorySnapshot> stack) { stack_ = std::move(stack); }
void SetThreadID(uint64_t thread_id) { thread_id_ = thread_id; }
void SetSuspendCount(int suspend_count) { suspend_count_ = suspend_count; }
« no previous file with comments | « snapshot/test/test_process_snapshot.h ('k') | test/win/win_child_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698