Handle record flag in object-refvisitor.

Test: 849-records
Bug: 297966050
Change-Id: I49063df4b2b61b8f01bc1b6fff2d16906d0ac39f
9 files changed