summaryrefslogtreecommitdiff
path: root/runtime/oat_file_assistant.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat_file_assistant.cc')
-rw-r--r--runtime/oat_file_assistant.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc
index 1ba0cbb640..cf0155f615 100644
--- a/runtime/oat_file_assistant.cc
+++ b/runtime/oat_file_assistant.cc
@@ -750,7 +750,7 @@ bool OatFileAssistant::IsPrimaryBootImageUsable() {
// Only verify the primary boot image.
cached_is_boot_image_usable_ = gc::space::ImageSpace::VerifyBootImages(
ArrayRef<const std::string>(runtime_options_->image_locations)
- .SubArray(/*pos=*/0u, /*size=*/1u),
+ .SubArray(/*pos=*/0u, /*length=*/1u),
ArrayRef<const std::string>(runtime_options_->boot_class_path_locations),
ArrayRef<const std::string>(runtime_options_->boot_class_path),
runtime_options_->boot_class_path_fds != nullptr ?