| Index: third_party/WebKit/Source/platform/TracedValue.h
|
| diff --git a/third_party/WebKit/Source/platform/TracedValue.h b/third_party/WebKit/Source/platform/TracedValue.h
|
| index 89b2d6e0905d21aafcee8712d49d9e4217f5183d..85887c4bdee3cb851b102e9ea02aa7ae605c35b0 100644
|
| --- a/third_party/WebKit/Source/platform/TracedValue.h
|
| +++ b/third_party/WebKit/Source/platform/TracedValue.h
|
| @@ -19,10 +19,12 @@ class TracedValue;
|
| namespace blink {
|
|
|
| // TracedValue copies all passed names and values and doesn't retain references.
|
| -class PLATFORM_EXPORT TracedValue : public TraceEvent::ConvertableToTraceFormat {
|
| +class PLATFORM_EXPORT TracedValue final : public RefCounted<TracedValue> {
|
| WTF_MAKE_NONCOPYABLE(TracedValue);
|
|
|
| public:
|
| + ~TracedValue();
|
| +
|
| static PassRefPtr<TracedValue> create();
|
|
|
| void endDictionary();
|
| @@ -42,14 +44,16 @@ public:
|
| void beginArray();
|
| void beginDictionary();
|
|
|
| - String asTraceFormat() const override;
|
| - void estimateTraceMemoryOverhead(base::trace_event::TraceEventMemoryOverhead*) override;
|
| + String toString() const;
|
|
|
| private:
|
| TracedValue();
|
| - ~TracedValue() override;
|
|
|
| + // This will be moved (and become null) when TracedValue is passed to
|
| + // EventTracer::addTraceEvent().
|
| scoped_refptr<base::trace_event::TracedValue> m_tracedValue;
|
| +
|
| + friend class EventTracer;
|
| };
|
|
|
| } // namespace blink
|
|
|