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

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: toRefPtrWillBeMemberNativeArray Created 6 years, 8 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..009bdacc39b6a8612eb002d2abafaeffa05dd925 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 : public RefCountedWillBeGarbageCollectedFinalized<RTCStatsReport>, public ScriptWrappable {
sof 2014/04/07 14:22:16 Add FINAL?
keishi 2014/04/11 20:03:06 Done.
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);

Powered by Google App Engine
This is Rietveld 408576698