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

Unified Diff: cc/debug/traced_display_item_list.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/traced_display_item_list.h ('k') | cc/debug/unittest_only_benchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/traced_display_item_list.cc
diff --git a/cc/debug/traced_display_item_list.cc b/cc/debug/traced_display_item_list.cc
index 7da87b97fe9b3a4d5566391f30b6b52dff003554..b02446e9cd46e6700c5636cf8a6ff5f182c80689 100644
--- a/cc/debug/traced_display_item_list.cc
+++ b/cc/debug/traced_display_item_list.cc
@@ -19,7 +19,7 @@ TracedDisplayItemList::~TracedDisplayItemList() {
}
void TracedDisplayItemList::AppendAsTraceFormat(std::string* out) const {
- scoped_ptr<base::trace_event::ConvertableToTraceFormat> convertable(
+ std::unique_ptr<base::trace_event::ConvertableToTraceFormat> convertable(
display_item_list_->AsValue(include_items_));
convertable->AppendAsTraceFormat(out);
}
« no previous file with comments | « cc/debug/traced_display_item_list.h ('k') | cc/debug/unittest_only_benchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698