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

Unified Diff: third_party/crashpad/crashpad/util/net/http_body_test_util.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/util/net/http_body_test_util.cc
diff --git a/third_party/crashpad/crashpad/util/net/http_body_test_util.cc b/third_party/crashpad/crashpad/util/net/http_body_test_util.cc
index c3dbd19c577f316c486ac3b947409b91940e5cfe..de7e02862198e8694f8cf7956f87d28158ede94b 100644
--- a/third_party/crashpad/crashpad/util/net/http_body_test_util.cc
+++ b/third_party/crashpad/crashpad/util/net/http_body_test_util.cc
@@ -16,7 +16,8 @@
#include <stdint.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "gtest/gtest.h"
#include "util/file/file_io.h"
#include "util/net/http_body.h"
@@ -29,7 +30,7 @@ std::string ReadStreamToString(HTTPBodyStream* stream) {
}
std::string ReadStreamToString(HTTPBodyStream* stream, size_t buffer_size) {
- scoped_ptr<uint8_t[]> buf(new uint8_t[buffer_size]);
+ std::unique_ptr<uint8_t[]> buf(new uint8_t[buffer_size]);
std::string result;
FileOperationResult bytes_read;

Powered by Google App Engine
This is Rietveld 408576698