summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/class_linker.h2
-rw-r--r--runtime/runtime_callbacks_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index d3bb58dc33..5042fb7609 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -1213,7 +1213,7 @@ class ClassLoadCallback {
const DexFile& initial_dex_file ATTRIBUTE_UNUSED,
const DexFile::ClassDef& initial_class_def ATTRIBUTE_UNUSED,
/*out*/DexFile const** final_dex_file ATTRIBUTE_UNUSED,
- /*out*/DexFile::ClassDef const** final_dex_cache ATTRIBUTE_UNUSED)
+ /*out*/DexFile::ClassDef const** final_class_def ATTRIBUTE_UNUSED)
REQUIRES_SHARED(Locks::mutator_lock_) {}
// A class has been loaded.
diff --git a/runtime/runtime_callbacks_test.cc b/runtime/runtime_callbacks_test.cc
index 66eb2ec3b1..f1e78b40e0 100644
--- a/runtime/runtime_callbacks_test.cc
+++ b/runtime/runtime_callbacks_test.cc
@@ -255,7 +255,7 @@ class ClassLoadCallbackRuntimeCallbacksTest : public RuntimeCallbacksTest {
const DexFile& initial_dex_file,
const DexFile::ClassDef& initial_class_def ATTRIBUTE_UNUSED,
/*out*/DexFile const** final_dex_file ATTRIBUTE_UNUSED,
- /*out*/DexFile::ClassDef const** final_dex_cache ATTRIBUTE_UNUSED)
+ /*out*/DexFile::ClassDef const** final_class_def ATTRIBUTE_UNUSED)
OVERRIDE REQUIRES_SHARED(Locks::mutator_lock_) {
std::string location(initial_dex_file.GetLocation());
std::string event =