OSDN Git Service

Fix typo in argument name.
authorAlex Light <allight@google.com>
Tue, 24 Jan 2017 19:15:20 +0000 (11:15 -0800)
committerAlex Light <allight@google.com>
Tue, 24 Jan 2017 19:16:17 +0000 (11:16 -0800)
Test: mma -j40 test-art-host
Change-Id: Ifff0e7b7ae64ce322562244a705fbe4e8f879689

runtime/class_linker.h
runtime/runtime_callbacks_test.cc

index d3bb58d..5042fb7 100644 (file)
@@ -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.
index 66eb2ec..f1e78b4 100644 (file)
@@ -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 =