Fix race condition in SafetyCheckUpdatesDelegateImpl
Likely pretty innocuous, but it's possible a GC could happen between the two weakRef.get() calls. Bug: None Change-Id: I345fac7f72a70cef8aed80a834b47f3514d7f51a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2477048 Auto-Submit: Andrew Grieve <agrieve@chromium.org> Reviewed-by:Andrey Zaytsev <andzaytsev@google.com> Commit-Queue: Andrey Zaytsev <andzaytsev@google.com> Cr-Commit-Position: refs/heads/master@{#818446}
Showing
Please register or sign in to comment