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

Unified Diff: rlz/lib/rlz_lib_test.cc

Issue 1856623002: convert //rlz to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « rlz/lib/financial_ping.cc ('k') | rlz/lib/rlz_value_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/lib/rlz_lib_test.cc
diff --git a/rlz/lib/rlz_lib_test.cc b/rlz/lib/rlz_lib_test.cc
index 666aee130f00cfb1233f7f6dfc4f99f17588da7e..36fdbb684619f12c2576da394c84b5809e2afa0a 100644
--- a/rlz/lib/rlz_lib_test.cc
+++ b/rlz/lib/rlz_lib_test.cc
@@ -15,8 +15,9 @@
#include <stddef.h>
+#include <memory>
+
#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -574,7 +575,7 @@ TEST_F(RlzLibTest, ClearProductState) {
#if defined(OS_WIN)
template<class T>
class typed_buffer_ptr {
- scoped_ptr<char[]> buffer_;
+ std::unique_ptr<char[]> buffer_;
public:
typed_buffer_ptr() {
« no previous file with comments | « rlz/lib/financial_ping.cc ('k') | rlz/lib/rlz_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698