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

Unified Diff: third_party/crashpad/crashpad/snapshot/test/test_thread_snapshot.h

Issue 1529483002: Update Crashpad to 583d1dc3efa96ea50f62afa69a598eeed1534edc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN build 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
Index: third_party/crashpad/crashpad/snapshot/test/test_thread_snapshot.h
diff --git a/third_party/crashpad/crashpad/snapshot/test/test_thread_snapshot.h b/third_party/crashpad/crashpad/snapshot/test/test_thread_snapshot.h
index 49a10c652effe6de0ab9208a6b8f8a790f433afd..29e3f5fbf966680ed540b1aebda73a7edddb140d 100644
--- a/third_party/crashpad/crashpad/snapshot/test/test_thread_snapshot.h
+++ b/third_party/crashpad/crashpad/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; }

Powered by Google App Engine
This is Rietveld 408576698