Index: media/capture/video/win/video_capture_device_factory_win.cc |
diff --git a/media/capture/video/win/video_capture_device_factory_win.cc b/media/capture/video/win/video_capture_device_factory_win.cc |
index 6c5ee5fb010dd6a5ccbdf09b36a2114b1c21e8f8..3c3bf3155fa1df27c944557ca181468d34901295 100644 |
--- a/media/capture/video/win/video_capture_device_factory_win.cc |
+++ b/media/capture/video/win/video_capture_device_factory_win.cc |
@@ -114,8 +114,7 @@ static bool IsDeviceBlackListed(const std::string& name) { |
if (base::StartsWith(name, kBlacklistedCameraNames[i], |
base::CompareCase::INSENSITIVE_ASCII)) { |
DVLOG(1) << "Enumerated blacklisted device: " << name; |
- UMA_HISTOGRAM_ENUMERATION("Media.VideoCapture.BlacklistedDevice", |
- static_cast<int32_t>(i), |
+ UMA_HISTOGRAM_ENUMERATION("Media.VideoCapture.BlacklistedDevice", i, |
BLACKLISTED_CAMERA_MAX + 1); |
return true; |
} |