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(¬ify_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)); |