Remove unnecessary lock that causes reentry.
The StatisticsRecorder is acquiring a lock before
calling Import but the import calls back to the SR
which again tries to acquire the lock... and crashes.
The lock isn't necessary with the new persistent
iterator (which is lock-free) so move the Import
call outside of the locking.
BUG=546019
TBR=asvitkine
Review URL: https://codereview.chromium.org/1865303004
Cr-Commit-Position: refs/heads/master@{#385991}
CrOS-Libchrome-Original-Commit: fb54f51c8439575d53159e63dee651278434db9f
2 files changed