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

Unified Diff: third_party/crashpad/crashpad/minidump/minidump_rva_list_writer_test.cc

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_test.cc
diff --git a/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer_test.cc b/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer_test.cc
index fa18dc5dffe4228e75b12ff0952cab1c9e90b91f..1d51bb922fb1b9a3fba22d00dcb6d6a314608653 100644
--- a/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer_test.cc
+++ b/third_party/crashpad/crashpad/minidump/minidump_rva_list_writer_test.cc
@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "minidump/minidump_rva_list_writer.h"
-
#include <utility>
#include "base/format_macros.h"
+#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
#include "gtest/gtest.h"
+#include "minidump/minidump_rva_list_writer.h"
#include "minidump/test/minidump_rva_list_test_util.h"
#include "minidump/test/minidump_writable_test_util.h"
#include "util/file/string_file.h"
@@ -33,7 +33,7 @@ class TestMinidumpRVAListWriter final : public internal::MinidumpRVAListWriter {
~TestMinidumpRVAListWriter() override {}
void AddChild(uint32_t value) {
- auto child = make_scoped_ptr(new TestUInt32MinidumpWritable(value));
+ auto child = base::WrapUnique(new TestUInt32MinidumpWritable(value));
MinidumpRVAListWriter::AddChild(std::move(child));
}

Powered by Google App Engine
This is Rietveld 408576698