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

Unified Diff: base/test/gtest_util.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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
« no previous file with comments | « base/task_scheduler/task_tracker_unittest.cc ('k') | base/test/histogram_tester.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/gtest_util.cc
diff --git a/base/test/gtest_util.cc b/base/test/gtest_util.cc
index 8ad54364dd9e2b35a1574f331c644d36d5eb39b7..b0623432badd05ad3f50f4b5384589ed393a1aa5 100644
--- a/base/test/gtest_util.cc
+++ b/base/test/gtest_util.cc
@@ -64,7 +64,7 @@ bool ReadTestNamesFromFile(const FilePath& path,
JSONFileValueDeserializer deserializer(path);
int error_code = 0;
std::string error_message;
- scoped_ptr<base::Value> value =
+ std::unique_ptr<base::Value> value =
deserializer.Deserialize(&error_code, &error_message);
if (!value.get())
return false;
« no previous file with comments | « base/task_scheduler/task_tracker_unittest.cc ('k') | base/test/histogram_tester.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698