Index: components/storage_monitor/media_storage_util.cc |
diff --git a/components/storage_monitor/media_storage_util.cc b/components/storage_monitor/media_storage_util.cc |
index 45dbdf7b7242d3ba3d74f6403501391b6c1d2fbd..13cbdceb6b6b1f32603173ffa44163be648ace66 100644 |
--- a/components/storage_monitor/media_storage_util.cc |
+++ b/components/storage_monitor/media_storage_util.cc |
@@ -99,7 +99,7 @@ bool MediaStorageUtil::HasDcim(const base::FilePath& mount_point) { |
if (!base::DirectoryExists(mount_point.Append(dcim_dir))) { |
// Check for lowercase 'dcim' as well. |
base::FilePath dcim_path_lower( |
- mount_point.Append(base::StringToLowerASCII(dcim_dir))); |
+ mount_point.Append(base::ToLowerASCII(dcim_dir))); |
if (!base::DirectoryExists(dcim_path_lower)) |
return false; |
} |