Index: chromeos/disks/disk_mount_manager.cc |
diff --git a/chromeos/disks/disk_mount_manager.cc b/chromeos/disks/disk_mount_manager.cc |
index a046b215023876649ba70f2ae39a2425314a9539..ed2c5979521b3894fef5751d5f413660f3d1c57b 100644 |
--- a/chromeos/disks/disk_mount_manager.cc |
+++ b/chromeos/disks/disk_mount_manager.cc |
@@ -276,8 +276,8 @@ class DiskMountManagerImpl : public DiskMountManager { |
for (MountPointMap::iterator it = mount_points_.begin(); |
it != mount_points_.end(); |
++it) { |
- if (base::StartsWithASCII(it->second.source_path, mount_path, |
- true /*case sensitive*/)) { |
+ if (base::StartsWith(it->second.source_path, mount_path, |
+ base::CompareCase::SENSITIVE)) { |
// TODO(tbarzic): Handle the case where this fails. |
UnmountPath(it->second.mount_path, |
UNMOUNT_OPTIONS_NONE, |
@@ -606,7 +606,7 @@ class DiskMountManagerImpl : public DiskMountManager { |
it != system_path_prefixes_.end(); |
++it) { |
const std::string& prefix = *it; |
- if (base::StartsWithASCII(system_path, prefix, true)) |
+ if (base::StartsWith(system_path, prefix, base::CompareCase::SENSITIVE)) |
return prefix; |
} |
return base::EmptyString(); |