| Index: Source/modules/mediastream/RTCStatsReport.h
|
| diff --git a/Source/modules/mediastream/RTCStatsReport.h b/Source/modules/mediastream/RTCStatsReport.h
|
| index 289f0cbf0ba5760c610a63628a4020456bf031bc..28ce28a46476f03be30944083054ed0133fb1d33 100644
|
| --- a/Source/modules/mediastream/RTCStatsReport.h
|
| +++ b/Source/modules/mediastream/RTCStatsReport.h
|
| @@ -35,9 +35,10 @@
|
|
|
| namespace WebCore {
|
|
|
| -class RTCStatsReport : public RefCounted<RTCStatsReport>, public ScriptWrappable {
|
| +class RTCStatsReport : public RefCountedWillBeGarbageCollectedFinalized<RTCStatsReport>, public ScriptWrappable {
|
| + DECLARE_GC_INFO;
|
| public:
|
| - static PassRefPtr<RTCStatsReport> create(const String& id, const String& type, double timestamp);
|
| + static PassRefPtrWillBeRawPtr<RTCStatsReport> create(const String& id, const String& type, double timestamp);
|
|
|
| double timestamp() const { return m_timestamp; }
|
| String id() { return m_id; }
|
| @@ -46,12 +47,14 @@ public:
|
| Vector<String> names() const;
|
|
|
| // DEPRECATED
|
| - const PassRefPtr<RTCStatsReport> local();
|
| + const PassRefPtrWillBeRawPtr<RTCStatsReport> local();
|
| // DEPRECATED
|
| - const PassRefPtr<RTCStatsReport> remote();
|
| + const PassRefPtrWillBeRawPtr<RTCStatsReport> remote();
|
|
|
| void addStatistic(const String& name, const String& value);
|
|
|
| + void trace(Visitor*) { }
|
| +
|
| private:
|
| RTCStatsReport(const String& id, const String& type, double timestamp);
|
|
|
|
|