summaryrefslogtreecommitdiff
path: root/compiler/image_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/image_test.h')
-rw-r--r--compiler/image_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_test.h b/compiler/image_test.h
index daa4b11967..15f79cb3f2 100644
--- a/compiler/image_test.h
+++ b/compiler/image_test.h
@@ -398,7 +398,7 @@ inline void ImageTest::TestWriteRead(ImageHeader::StorageMode storage_mode) {
ImageHeader image_header;
ASSERT_EQ(file->ReadFully(&image_header, sizeof(image_header)), true);
ASSERT_TRUE(image_header.IsValid());
- const auto& bitmap_section = image_header.GetImageSection(ImageHeader::kSectionImageBitmap);
+ const auto& bitmap_section = image_header.GetImageBitmapSection();
ASSERT_GE(bitmap_section.Offset(), sizeof(image_header));
ASSERT_NE(0U, bitmap_section.Size());