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

Unified Diff: third_party/crashpad/crashpad/snapshot/module_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/module_snapshot.h
diff --git a/third_party/crashpad/crashpad/snapshot/module_snapshot.h b/third_party/crashpad/crashpad/snapshot/module_snapshot.h
index 3e5d18af96babedaf2624b1293192fae1b4e6056..0f6723ecb00f0404cb979196589242a50d3522c3 100644
--- a/third_party/crashpad/crashpad/snapshot/module_snapshot.h
+++ b/third_party/crashpad/crashpad/snapshot/module_snapshot.h
@@ -19,14 +19,14 @@
#include <sys/types.h>
#include <map>
+#include <memory>
#include <set>
#include <string>
#include <vector>
-#include "base/memory/scoped_ptr.h"
+#include "snapshot/memory_snapshot.h"
#include "util/misc/uuid.h"
#include "util/numeric/checked_range.h"
-#include "snapshot/memory_snapshot.h"
namespace crashpad {
@@ -44,7 +44,7 @@ class UserMinidumpStream {
private:
//! \brief The memory representing the custom minidump stream.
- scoped_ptr<MemorySnapshot> memory_;
+ std::unique_ptr<MemorySnapshot> memory_;
//! \brief The stream type that the minidump stream will be tagged with.
uint32_t stream_type_;

Powered by Google App Engine
This is Rietveld 408576698