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