Index: webrtc/media/engine/fakewebrtcvcmfactory.h |
diff --git a/webrtc/media/engine/fakewebrtcvcmfactory.h b/webrtc/media/engine/fakewebrtcvcmfactory.h |
index daa2f774f5f34c1148202f2403e3f3b020ee85d6..3124cd8fcb4e246e191ba1fcdda45d9cec80fc42 100644 |
--- a/webrtc/media/engine/fakewebrtcvcmfactory.h |
+++ b/webrtc/media/engine/fakewebrtcvcmfactory.h |
@@ -22,16 +22,14 @@ |
class FakeWebRtcVcmFactory : public cricket::WebRtcVcmFactoryInterface { |
public: |
virtual rtc::scoped_refptr<webrtc::VideoCaptureModule> Create( |
- int module_id, |
const char* device_id) { |
if (!device_info.GetDeviceById(device_id)) return NULL; |
rtc::scoped_refptr<FakeWebRtcVideoCaptureModule> module( |
- new rtc::RefCountedObject<FakeWebRtcVideoCaptureModule>(this, |
- module_id)); |
+ new rtc::RefCountedObject<FakeWebRtcVideoCaptureModule>(this)); |
modules.push_back(module); |
return module; |
} |
- virtual webrtc::VideoCaptureModule::DeviceInfo* CreateDeviceInfo(int id) { |
+ virtual webrtc::VideoCaptureModule::DeviceInfo* CreateDeviceInfo() { |
return &device_info; |
} |
virtual void DestroyDeviceInfo(webrtc::VideoCaptureModule::DeviceInfo* info) { |