diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h b/chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h index 57349887efa..4cb0becbbd3 100644 --- a/chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h +++ b/chromium/third_party/WebKit/Source/modules/mediastream/SourceInfo.h @@ -34,22 +34,24 @@ namespace WebCore { -class SourceInfo : public RefCounted<SourceInfo>, public ScriptWrappable { +class SourceInfo : public RefCountedWillBeGarbageCollectedFinalized<SourceInfo>, public ScriptWrappable { 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 WillBeHeapVector<RefPtrWillBeMember<SourceInfo> > SourceInfoVector; } // namespace WebCore |