diff options
Diffstat (limited to 'src/class_linker_test.cc')
-rw-r--r-- | src/class_linker_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class_linker_test.cc b/src/class_linker_test.cc index 4540c01375..e5844b0038 100644 --- a/src/class_linker_test.cc +++ b/src/class_linker_test.cc @@ -22,7 +22,7 @@ #include "class_linker-inl.h" #include "common_test.h" #include "dex_file.h" -#include "heap.h" +#include "gc/heap.h" #include "mirror/class-inl.h" #include "mirror/dex_cache.h" #include "mirror/field-inl.h" @@ -333,7 +333,7 @@ class ClassLinkerTest : public CommonTest { const char* descriptor = dex->GetTypeDescriptor(type_id); AssertDexFileClass(class_loader, descriptor); } - class_linker_->VisitRoots(TestRootVisitor, NULL); + class_linker_->VisitRoots(TestRootVisitor, NULL, false); // Verify the dex cache has resolution methods in all resolved method slots DexCache* dex_cache = class_linker_->FindDexCache(*dex); ObjectArray<AbstractMethod>* resolved_methods = dex_cache->GetResolvedMethods(); |