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

Unified Diff: Source/modules/mediastream/SourceInfo.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
« no previous file with comments | « Source/modules/mediastream/RTCStatsResponse.idl ('k') | Source/modules/mediastream/SourceInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/SourceInfo.h
diff --git a/Source/modules/mediastream/SourceInfo.h b/Source/modules/mediastream/SourceInfo.h
index 57349887efa01bd6e935d96241316944bc924b1c..4cb0becbbd3e630adf0af0b732836dff3f6718e1 100644
--- a/Source/modules/mediastream/SourceInfo.h
+++ b/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
« no previous file with comments | « Source/modules/mediastream/RTCStatsResponse.idl ('k') | Source/modules/mediastream/SourceInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698