diff options
-rw-r--r-- | base/android/library_loader/library_prefetcher.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/android/library_loader/library_prefetcher.cc b/base/android/library_loader/library_prefetcher.cc index 044964d8b0..2c34cabccd 100644 --- a/base/android/library_loader/library_prefetcher.cc +++ b/base/android/library_loader/library_prefetcher.cc @@ -167,7 +167,7 @@ void DumpResidency(size_t start, } // First line: start-end of text range. - CHECK(IsOrderingSane()); + CHECK(AreAnchorsSane()); CHECK_LE(start, kStartOfText); CHECK_LE(kEndOfText, end); auto start_end = base::StringPrintf("%" PRIuS " %" PRIuS "\n", @@ -297,7 +297,7 @@ int NativeLibraryPrefetcher::PercentageOfResidentCode(size_t start, // static int NativeLibraryPrefetcher::PercentageOfResidentNativeLibraryCode() { - if (!IsOrderingSane()) { + if (!AreAnchorsSane()) { LOG(WARNING) << "Incorrect code ordering"; return -1; } @@ -336,7 +336,7 @@ void NativeLibraryPrefetcher::MadviseForOrderfile() { // static void NativeLibraryPrefetcher::MadviseForResidencyCollection() { - if (!IsOrderingSane()) { + if (!AreAnchorsSane()) { LOG(WARNING) << "Code not ordered, cannot madvise"; return; } |