Index: Source/WebCore/platform/chromium/support/WebMediaStreamTrack.cpp |
=================================================================== |
--- Source/WebCore/platform/chromium/support/WebMediaStreamTrack.cpp (revision 143918) |
+++ Source/WebCore/platform/chromium/support/WebMediaStreamTrack.cpp (working copy) |
@@ -59,6 +59,11 @@ |
m_private = MediaStreamComponent::create(source); |
} |
+void WebMediaStreamTrack::initialize(const WebString& id, const WebMediaStreamSource& source) |
+{ |
+ m_private = MediaStreamComponent::create(id, source); |
+} |
+ |
void WebMediaStreamTrack::reset() |
{ |
m_private.reset(); |