summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h b/chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h
index 289f0cbf0ba..9b23ab52400 100644
--- a/chromium/third_party/WebKit/Source/modules/mediastream/RTCStatsReport.h
+++ b/chromium/third_party/WebKit/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);