summaryrefslogtreecommitdiff
path: root/runtime/dex/dex_file_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/dex/dex_file_test.cc')
-rw-r--r--runtime/dex/dex_file_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex/dex_file_test.cc b/runtime/dex/dex_file_test.cc
index 87eec571f1..3ee115c01b 100644
--- a/runtime/dex/dex_file_test.cc
+++ b/runtime/dex/dex_file_test.cc
@@ -731,7 +731,7 @@ TEST_F(DexFileTest, OpenDexDebugInfoLocalNullType) {
kRawDexDebugInfoLocalNullType, tmp.GetFilename().c_str(), 0xf25f2b38U, true);
const DexFile::ClassDef& class_def = raw->GetClassDef(0);
const DexFile::CodeItem* code_item = raw->GetCodeItem(raw->FindCodeItemOffset(class_def, 1));
- CodeItemDebugInfoAccessor accessor(raw.get(), code_item);
+ CodeItemDebugInfoAccessor accessor(*raw, code_item);
ASSERT_TRUE(accessor.DecodeDebugLocalInfo(true, 1, Callback, nullptr));
}