Chromium Code Reviews| Index: Source/modules/mediastream/RTCStatsReport.h |
| diff --git a/Source/modules/mediastream/RTCStatsReport.h b/Source/modules/mediastream/RTCStatsReport.h |
| index 289f0cbf0ba5760c610a63628a4020456bf031bc..7727425c276ce327451c25dbe94abfb5efa691a3 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 RefCountedWillBeGarbageCollected<RTCStatsReport>, public ScriptWrappable { |
|
sof
2014/02/20 15:30:23
Add *Finalized
keishi
2014/02/21 08:00:25
Done.
|
| + 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); |