Index: media/video/capture/mac/video_capture_device_factory_mac.mm |
diff --git a/media/video/capture/mac/video_capture_device_factory_mac.mm b/media/video/capture/mac/video_capture_device_factory_mac.mm |
index f7428ebe39938006bbba58b54de93b34897cb606..76e14c6b24dadab914a01bb86d591c690b41b432 100644 |
--- a/media/video/capture/mac/video_capture_device_factory_mac.mm |
+++ b/media/video/capture/mac/video_capture_device_factory_mac.mm |
@@ -35,7 +35,7 @@ static bool IsDeviceBlacklisted(const VideoCaptureDevice::Name& name) { |
bool is_device_blacklisted = false; |
for(size_t i = 0; |
!is_device_blacklisted && i < arraysize(kBlacklistedCameras); ++i) { |
- is_device_blacklisted = EndsWith(name.id(), |
+ is_device_blacklisted = base::EndsWith(name.id(), |
kBlacklistedCameras[i].unique_id_signature, false); |
} |
DVLOG_IF(2, is_device_blacklisted) << "Blacklisted camera: " << |
@@ -182,7 +182,8 @@ void VideoCaptureDeviceFactoryMac::GetDeviceSupportedFormats( |
// such information is provided for QTKit devices. |
if (device.is_blacklisted()) { |
for (size_t i = 0; i < arraysize(kBlacklistedCameras); ++i) { |
- if (EndsWith(device.id(), kBlacklistedCameras[i].unique_id_signature, |
+ if (base::EndsWith(device.id(), |
+ kBlacklistedCameras[i].unique_id_signature, |
false)) { |
supported_formats->push_back(media::VideoCaptureFormat( |
gfx::Size(kBlacklistedCameras[i].capture_width, |