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

Unified Diff: third_party/crashpad/crashpad/test/multiprocess_posix.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/test/multiprocess_posix.cc
diff --git a/third_party/crashpad/crashpad/test/multiprocess_posix.cc b/third_party/crashpad/crashpad/test/multiprocess_posix.cc
index 109ac313304abb7095a4740798c227ce42f2ca7e..dcc39479693d056e670ac9cdc50c46ba63b7450c 100644
--- a/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+++ b/third_party/crashpad/crashpad/test/multiprocess_posix.cc
@@ -19,12 +19,12 @@
#include <sys/wait.h>
#include <unistd.h>
+#include <memory>
#include <string>
#include "base/auto_reset.h"
#include "base/files/scoped_file.h"
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/posix/eintr_wrapper.h"
#include "base/strings/stringprintf.h"
#include "gtest/gtest.h"
@@ -61,7 +61,8 @@ Multiprocess::Multiprocess()
void Multiprocess::Run() {
ASSERT_EQ(nullptr, info_);
- scoped_ptr<internal::MultiprocessInfo> info(new internal::MultiprocessInfo);
+ std::unique_ptr<internal::MultiprocessInfo> info(
+ new internal::MultiprocessInfo);
base::AutoReset<internal::MultiprocessInfo*> reset_info(&info_, info.get());
ASSERT_NO_FATAL_FAILURE(PreFork());

Powered by Google App Engine
This is Rietveld 408576698