summaryrefslogtreecommitdiff
path: root/dex2oat/dex2oat_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dex2oat/dex2oat_test.cc')
-rw-r--r--dex2oat/dex2oat_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex2oat/dex2oat_test.cc b/dex2oat/dex2oat_test.cc
index 7013bbce0c..9d837cbf67 100644
--- a/dex2oat/dex2oat_test.cc
+++ b/dex2oat/dex2oat_test.cc
@@ -1797,7 +1797,7 @@ TEST_F(Dex2oatTest, AppImageResolveStrings) {
bool mutated_successfully = false;
// Change the dex instructions to make an opcode that spans past the end of the code item.
for (ClassAccessor accessor : dex->GetClasses()) {
- if (accessor.GetDescriptor() == std::string("LStringLiterals$StartupClass;")) {
+ if (accessor.GetDescriptorView() == "LStringLiterals$StartupClass;") {
classes.push_back(accessor.GetClassIdx());
}
for (const ClassAccessor::Method& method : accessor.GetMethods()) {