Index: webrtc/modules/video_capture/objc/device_info.mm |
diff --git a/webrtc/modules/video_capture/objc/device_info.mm b/webrtc/modules/video_capture/objc/device_info.mm |
index 2535f1c69e32cb6b661dcaedf470792cd8246784..876dbb21717dbf4c07aefa61c9bfcfb548d1f0a2 100644 |
--- a/webrtc/modules/video_capture/objc/device_info.mm |
+++ b/webrtc/modules/video_capture/objc/device_info.mm |
@@ -30,17 +30,15 @@ static NSArray* camera_presets = @[ |
]; |
#define IOS_UNSUPPORTED() \ |
- WEBRTC_TRACE(kTraceError, kTraceVideoCapture, _id, \ |
+ WEBRTC_TRACE(kTraceError, kTraceVideoCapture, 0, \ |
"%s is not supported on the iOS platform.", __FUNCTION__); \ |
return -1; |
-VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo( |
- const int32_t device_id) { |
- return new DeviceInfoIos(device_id); |
+VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo() { |
+ return new DeviceInfoIos(); |
} |
-DeviceInfoIos::DeviceInfoIos(const int32_t device_id) |
- : DeviceInfoImpl(device_id) { |
+DeviceInfoIos::DeviceInfoIos() { |
this->Init(); |
} |