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

Unified Diff: base/trace_event/trace_config.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: base/trace_event/trace_config.h
diff --git a/base/trace_event/trace_config.h b/base/trace_event/trace_config.h
index c7d3f4b379b7dcf36ae5c536e7a06155e80531e9..81b7d515133dd0c3c71f461316ced768e6fd9618 100644
--- a/base/trace_event/trace_config.h
+++ b/base/trace_event/trace_config.h
@@ -153,8 +153,8 @@ class BASE_EXPORT TraceConfig {
// formatted.
std::string ToString() const;
- // Returns a scoped_refptr and wrap TraceConfig in ConvertableToTraceFormat
- scoped_refptr<ConvertableToTraceFormat> AsConvertableToTraceFormat() const;
+ // Returns a copy of the TraceConfig wrapped in a ConvertableToTraceFormat
+ scoped_ptr<ConvertableToTraceFormat> AsConvertableToTraceFormat() const;
// Write the string representation of the CategoryFilter part.
std::string ToCategoryFilterString() const;

Powered by Google App Engine
This is Rietveld 408576698