From 1cc62e4ea24828fdb3f3da0b8603f0b107d09a04 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 3 Oct 2016 18:01:28 -0700 Subject: Rename ObjPtr::Decode to ObjPtr::Ptr Done to prevent ambiguity with ScopedObjectAccess::Decode. Bug: 31113334 Test: test-art-host Change-Id: I07a2497cc9cf66386311798933547471987fc316 --- runtime/common_runtime_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/common_runtime_test.cc') diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index ea0719502a..84752f03c7 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -514,9 +514,9 @@ std::vector CommonRuntimeTestImpl::GetDexFiles(jobject jclass_lo soa.Decode(jclass_loader)); DCHECK_EQ(class_loader->GetClass(), - soa.Decode(WellKnownClasses::dalvik_system_PathClassLoader).Decode()); + soa.Decode(WellKnownClasses::dalvik_system_PathClassLoader).Ptr()); DCHECK_EQ(class_loader->GetParent()->GetClass(), - soa.Decode(WellKnownClasses::java_lang_BootClassLoader).Decode()); + soa.Decode(WellKnownClasses::java_lang_BootClassLoader).Ptr()); // The class loader is a PathClassLoader which inherits from BaseDexClassLoader. // We need to get the DexPathList and loop through it. -- cgit v1.2.3-59-g8ed1b