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

Unified Diff: cc/debug/rendering_stats_unittest.cc

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/debug/rendering_stats_instrumentation.cc ('k') | cc/debug/traced_display_item_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rendering_stats_unittest.cc
diff --git a/cc/debug/rendering_stats_unittest.cc b/cc/debug/rendering_stats_unittest.cc
index b0695be79ba9df4663b5d964296cb2e820b25eb6..2ba0d2bee8c925b6d413c3d0b0f06f5de8af980d 100644
--- a/cc/debug/rendering_stats_unittest.cc
+++ b/cc/debug/rendering_stats_unittest.cc
@@ -13,7 +13,7 @@ namespace cc {
namespace {
static std::string ToString(const RenderingStats::TimeDeltaList& list) {
- scoped_ptr<base::trace_event::TracedValue> value(
+ std::unique_ptr<base::trace_event::TracedValue> value(
new base::trace_event::TracedValue());
list.AddToTracedValue("list_value", value.get());
return value->ToString();
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.cc ('k') | cc/debug/traced_display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698