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

Unified Diff: tools/cygprofile/cygprofile_unittest.cc

Issue 1869503004: Convert //tools to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, change iwyu fixes for converted directories to include <memory> 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 | « tools/cygprofile/cygprofile.cc ('k') | tools/gn/build_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cygprofile/cygprofile_unittest.cc
diff --git a/tools/cygprofile/cygprofile_unittest.cc b/tools/cygprofile/cygprofile_unittest.cc
index 521950043e9a696fd8ad1950626544b3ee626f12..280e6e57e3b7f59eabc2225ae7a923c9c1cc6d9e 100644
--- a/tools/cygprofile/cygprofile_unittest.cc
+++ b/tools/cygprofile/cygprofile_unittest.cc
@@ -70,7 +70,7 @@ TEST(CygprofileTest, ManagerBasic) {
base::Unretained(&notify_event)));
std::vector<LogEntry> entries;
- scoped_ptr<ThreadLog> thread_log(
+ std::unique_ptr<ThreadLog> thread_log(
new ThreadLog(base::Bind(&FlushEntries, base::Unretained(&entries))));
thread_log->AddEntry(reinterpret_cast<void*>(0x2));
« no previous file with comments | « tools/cygprofile/cygprofile.cc ('k') | tools/gn/build_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698