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

Unified Diff: third_party/crashpad/crashpad/minidump/minidump_string_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_string_writer.h
diff --git a/third_party/crashpad/crashpad/minidump/minidump_string_writer.h b/third_party/crashpad/crashpad/minidump/minidump_string_writer.h
index 26fabf893aead4315d8b857bccf81535b9ebf24d..97215da445d1e446f8eafcba8a2311a0f4363ba6 100644
--- a/third_party/crashpad/crashpad/minidump/minidump_string_writer.h
+++ b/third_party/crashpad/crashpad/minidump/minidump_string_writer.h
@@ -19,11 +19,11 @@
#include <dbghelp.h>
#include <sys/types.h>
+#include <memory>
#include <string>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "minidump/minidump_extensions.h"
#include "minidump/minidump_rva_list_writer.h"
@@ -77,7 +77,7 @@ class MinidumpStringWriter : public MinidumpWritable {
const StringType& string() const { return string_; }
private:
- scoped_ptr<MinidumpStringType> string_base_;
+ std::unique_ptr<MinidumpStringType> string_base_;
StringType string_;
DISALLOW_COPY_AND_ASSIGN(MinidumpStringWriter);

Powered by Google App Engine
This is Rietveld 408576698