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

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

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium Created 4 years, 8 months 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_exception_snapshot.h
diff --git a/third_party/crashpad/crashpad/snapshot/test/test_exception_snapshot.h b/third_party/crashpad/crashpad/snapshot/test/test_exception_snapshot.h
index 638c0c92e44275edf429ce2493ab6d650371c2d9..254bff120e94fe57cdd9bf3fbd1526981a673652 100644
--- a/third_party/crashpad/crashpad/snapshot/test/test_exception_snapshot.h
+++ b/third_party/crashpad/crashpad/snapshot/test/test_exception_snapshot.h
@@ -17,10 +17,10 @@
#include <stdint.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "snapshot/cpu_context.h"
#include "snapshot/exception_snapshot.h"
#include "util/stdlib/pointer_container.h"
@@ -59,7 +59,7 @@ class TestExceptionSnapshot final : public ExceptionSnapshot {
exception_address_ = exception_address;
}
void SetCodes(const std::vector<uint64_t>& codes) { codes_ = codes; }
- void AddExtraMemory(scoped_ptr<MemorySnapshot> extra_memory) {
+ void AddExtraMemory(std::unique_ptr<MemorySnapshot> extra_memory) {
extra_memory_.push_back(extra_memory.release());
}

Powered by Google App Engine
This is Rietveld 408576698