Index: Source/modules/mediastream/SourceInfo.h |
diff --git a/Source/modules/mediastream/SourceInfo.h b/Source/modules/mediastream/SourceInfo.h |
index 57349887efa01bd6e935d96241316944bc924b1c..28ec7fec30cc184b33f43c99928145d9d9a8cd27 100644 |
--- a/Source/modules/mediastream/SourceInfo.h |
+++ b/Source/modules/mediastream/SourceInfo.h |
@@ -34,22 +34,25 @@ |
namespace WebCore { |
-class SourceInfo : public RefCounted<SourceInfo>, public ScriptWrappable { |
+class SourceInfo : public RefCountedWillBeGarbageCollected<SourceInfo>, public ScriptWrappable { |
sof
2014/02/20 15:30:23
RefCountedWillBeGarbageCollectedFinalized
keishi
2014/02/21 08:00:25
Done.
|
+ DECLARE_GC_INFO; |
public: |
- static PassRefPtr<SourceInfo> create(const blink::WebSourceInfo&); |
+ static PassRefPtrWillBeRawPtr<SourceInfo> create(const blink::WebSourceInfo&); |
String id() const; |
String kind() const; |
String label() const; |
String facing() const; |
+ void trace(Visitor*) { } |
+ |
private: |
explicit SourceInfo(const blink::WebSourceInfo&); |
blink::WebSourceInfo m_webSourceInfo; |
}; |
-typedef Vector<RefPtr<SourceInfo> > SourceInfoVector; |
+typedef WillBePersistentHeapVector<RefPtrWillBeMember<SourceInfo> > SourceInfoVector; |
} // namespace WebCore |