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

Unified Diff: base/test/test_pending_task_unittest.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/test/test_pending_task.cc ('k') | base/test/test_reg_util_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_pending_task_unittest.cc
diff --git a/base/test/test_pending_task_unittest.cc b/base/test/test_pending_task_unittest.cc
index 39a6a4350a538deb79386f4c5d88352a95b7ee61..6e01c8c66a65d57c67f92fea7feb2136780fd61f 100644
--- a/base/test/test_pending_task_unittest.cc
+++ b/base/test/test_pending_task_unittest.cc
@@ -19,7 +19,7 @@ TEST(TestPendingTaskTest, TraceSupport) {
TRACE_EVENT1("test", "TestPendingTask::TraceSupport", "task", task.AsValue());
// Just a basic check that the trace output has *something* in it.
- scoped_ptr<base::trace_event::ConvertableToTraceFormat> task_value(
+ std::unique_ptr<base::trace_event::ConvertableToTraceFormat> task_value(
task.AsValue());
EXPECT_THAT(task_value->ToString(), ::testing::HasSubstr("post_time"));
}
« no previous file with comments | « base/test/test_pending_task.cc ('k') | base/test/test_reg_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698