diff options
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index b259f64d1e..f3eb663cb8 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -505,7 +505,7 @@ class PatchOatArtFieldVisitor : public ArtFieldVisitor { void Visit(ArtField* field) OVERRIDE REQUIRES_SHARED(Locks::mutator_lock_) { ArtField* const dest = patch_oat_->RelocatedCopyOf(field); dest->SetDeclaringClass( - patch_oat_->RelocatedAddressOfPointer(field->GetDeclaringClass().Decode())); + patch_oat_->RelocatedAddressOfPointer(field->GetDeclaringClass().Ptr())); } private: |