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

Unified Diff: third_party/crashpad/crashpad/minidump/minidump_rva_list_writer.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/minidump/minidump_rva_list_writer.h
diff --git a/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer.h b/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer.h
index cb17ef2b6d66e2802060c0dedc8c58eee4434cee..745b792ec601f07e932edf31e1a51cb02df0ce1a 100644
--- a/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer.h
+++ b/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer.h
@@ -18,10 +18,10 @@
#include <stdint.h>
#include <sys/types.h>
+#include <memory>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "minidump/minidump_extensions.h"
#include "minidump/minidump_writable.h"
#include "util/stdlib/pointer_container.h"
@@ -47,7 +47,7 @@ class MinidumpRVAListWriter : public MinidumpWritable {
//! MinidumpWritable subclass, and call this method with that argument.
//!
//! \note Valid in #kStateMutable.
- void AddChild(scoped_ptr<MinidumpWritable> child);
+ void AddChild(std::unique_ptr<MinidumpWritable> child);
//! \brief Returns `true` if no child objects have been added by AddChild(),
//! and `false` if child objects are present.
@@ -66,7 +66,7 @@ class MinidumpRVAListWriter : public MinidumpWritable {
bool WriteObject(FileWriterInterface* file_writer) override;
private:
- scoped_ptr<MinidumpRVAList> rva_list_base_;
+ std::unique_ptr<MinidumpRVAList> rva_list_base_;
PointerVector<MinidumpWritable> children_;
std::vector<RVA> child_rvas_;

Powered by Google App Engine
This is Rietveld 408576698