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

Unified Diff: cc/debug/traced_display_item_list.h

Issue 1717283003: tracing: Make ConvertableToTraceFormat move-only scoped_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
Index: cc/debug/traced_display_item_list.h
diff --git a/cc/debug/traced_display_item_list.h b/cc/debug/traced_display_item_list.h
index 6b422435c6e82f2c20d843e9f83037cd163de9dc..b06500dac95ad4ed99fda57790704045ecbd439b 100644
--- a/cc/debug/traced_display_item_list.h
+++ b/cc/debug/traced_display_item_list.h
@@ -19,10 +19,10 @@ class DisplayItemList;
class TracedDisplayItemList
: public base::trace_event::ConvertableToTraceFormat {
public:
- static scoped_refptr<ConvertableToTraceFormat> AsTraceableDisplayItemList(
+ static scoped_ptr<ConvertableToTraceFormat> AsTraceableDisplayItemList(
scoped_refptr<const DisplayItemList> list,
bool include_items) {
- return scoped_refptr<ConvertableToTraceFormat>(
+ return scoped_ptr<ConvertableToTraceFormat>(
new TracedDisplayItemList(list, include_items));
}
void AppendAsTraceFormat(std::string* out) const override;

Powered by Google App Engine
This is Rietveld 408576698