Index: Source/modules/mediastream/RTCStatsReport.h |
diff --git a/Source/modules/mediastream/RTCStatsReport.h b/Source/modules/mediastream/RTCStatsReport.h |
index 289f0cbf0ba5760c610a63628a4020456bf031bc..9b23ab524009f2e1ab0047c61586af085b50e79b 100644 |
--- a/Source/modules/mediastream/RTCStatsReport.h |
+++ b/Source/modules/mediastream/RTCStatsReport.h |
@@ -35,9 +35,9 @@ |
namespace WebCore { |
-class RTCStatsReport : public RefCounted<RTCStatsReport>, public ScriptWrappable { |
+class RTCStatsReport FINAL : public RefCountedWillBeGarbageCollectedFinalized<RTCStatsReport>, public ScriptWrappable { |
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 +46,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); |