Fix build, missed one method name change.
Change-Id: I619dc66d596f970417eb1319db8ed17c32edaa4d
diff --git a/compiler/image_test.cc b/compiler/image_test.cc
index 3c28bc2..4170eeb 100644
--- a/compiler/image_test.cc
+++ b/compiler/image_test.cc
@@ -141,7 +141,7 @@
java_lang_dex_file_ = NULL;
MemMap::Init();
- std::unique_ptr<const DexFile> dex(LoadExpectSingleDexFile(GetLibCoreDexFileName().c_str()));
+ std::unique_ptr<const DexFile> dex(LoadExpectSingleDexFile(GetLibCoreDexFileNames()[0].c_str()));
RuntimeOptions options;
std::string image("-Ximage:");