Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(695)

Unified Diff: Source/modules/mediastream/RTCStatsReport.h

Issue 173363002: Move mediastream module to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp ('k') | Source/modules/mediastream/RTCStatsReport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698