Index: base/android/library_loader/library_prefetcher.cc |
diff --git a/base/android/library_loader/library_prefetcher.cc b/base/android/library_loader/library_prefetcher.cc |
index 798a283d71b322da1bb997995b3eef355bc50cb2..9b54843fc8329c978b5b9e36a61e88a15f6c7c3a 100644 |
--- a/base/android/library_loader/library_prefetcher.cc |
+++ b/base/android/library_loader/library_prefetcher.cc |
@@ -36,7 +36,7 @@ bool IsReadableAndPrivate(const base::debug::MappedMemoryRegion& region) { |
bool PathMatchesSuffix(const std::string& path) { |
for (size_t i = 0; i < arraysize(kSuffixesToMatch); i++) { |
- if (EndsWith(path, kSuffixesToMatch[i], true)) { |
+ if (EndsWith(path, kSuffixesToMatch[i], CompareCase::SENSITIVE)) { |
return true; |
} |
} |
@@ -82,14 +82,14 @@ void NativeLibraryPrefetcher::FilterLibchromeRangesOnlyIfPossible( |
std::vector<AddressRange>* ranges) { |
bool has_libchrome_region = false; |
for (const base::debug::MappedMemoryRegion& region : regions) { |
- if (EndsWith(region.path, kLibchromeSuffix, true)) { |
+ if (EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) { |
has_libchrome_region = true; |
break; |
} |
} |
for (const base::debug::MappedMemoryRegion& region : regions) { |
if (has_libchrome_region && |
- !EndsWith(region.path, kLibchromeSuffix, true)) { |
+ !EndsWith(region.path, kLibchromeSuffix, CompareCase::SENSITIVE)) { |
continue; |
} |
ranges->push_back(std::make_pair(region.start, region.end)); |