diff options
author | 2016-12-06 22:06:05 +0000 | |
---|---|---|
committer | 2016-12-06 22:06:06 +0000 | |
commit | 1a5bfdc22bc3d659cf8ea7077151972725ef093c (patch) | |
tree | e05eedc8dbcb15fec373a0b52626dadbe9c41dc3 /patchoat/patchoat.cc | |
parent | d12f04cb563432c1c072c7446255c57ec2f8db53 (diff) | |
parent | 58c3f6a0d15a4340c0a11ab7fbc8c4b990c64b77 (diff) |
Merge "Reduce calls to DescriptorEquals"
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index db28a3f494..cb5a79068a 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -605,8 +605,7 @@ void PatchOat::PatchClassTable(const ImageHeader* image_header) { ClassTable temp_table; temp_table.ReadFromMemory(image_->Begin() + section.Offset()); FixupRootVisitor visitor(this); - BufferedRootVisitor<kDefaultBufferedRootCount> buffered_visitor(&visitor, RootInfo(kRootUnknown)); - temp_table.VisitRoots(buffered_visitor); + temp_table.VisitRoots(UnbufferedRootVisitor(&visitor, RootInfo(kRootUnknown))); } |