Index: media/video/capture/video_capture_device.cc |
diff --git a/media/video/capture/video_capture_device.cc b/media/video/capture/video_capture_device.cc |
index e4744893a261f1dec110548fc34db4fa759ada79..cb03dba09bcd39ff60240234eb9d9291d9adff86 100644 |
--- a/media/video/capture/video_capture_device.cc |
+++ b/media/video/capture/video_capture_device.cc |
@@ -14,7 +14,7 @@ const std::string VideoCaptureDevice::Name::GetNameAndModel() const { |
if (model_id.empty()) |
return device_name_; |
const std::string suffix = " (" + model_id + ")"; |
- if (base::EndsWith(device_name_, suffix, true /* case sensitive */)) |
+ if (base::EndsWith(device_name_, suffix, base::CompareCase::SENSITIVE)) |
return device_name_; |
return device_name_ + suffix; |
} |