Index: webrtc/modules/video_capture/external/device_info_external.cc |
diff --git a/webrtc/modules/video_capture/external/device_info_external.cc b/webrtc/modules/video_capture/external/device_info_external.cc |
index d89ae1618534b78ad5ade8f79130ff449306de5b..e54bd437742847cd5d2acf7c6eb2b2aac6885798 100644 |
--- a/webrtc/modules/video_capture/external/device_info_external.cc |
+++ b/webrtc/modules/video_capture/external/device_info_external.cc |
@@ -17,9 +17,7 @@ namespace videocapturemodule { |
class ExternalDeviceInfo : public DeviceInfoImpl { |
public: |
- ExternalDeviceInfo(const int32_t id) |
- : DeviceInfoImpl(id) { |
- } |
+ ExternalDeviceInfo() {} |
virtual ~ExternalDeviceInfo() {} |
virtual uint32_t NumberOfDevices() { return 0; } |
virtual int32_t DisplayCaptureSettingsDialogBox( |
@@ -43,9 +41,8 @@ class ExternalDeviceInfo : public DeviceInfoImpl { |
virtual int32_t Init() { return 0; } |
}; |
-VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo( |
- const int32_t id) { |
- return new ExternalDeviceInfo(id); |
+VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo() { |
+ return new ExternalDeviceInfo(); |
} |
} // namespace videocapturemodule |