Make have_emitted_uma_ thread safe in WidgetInputHandlerManager
It is possible for the renderer to navigate and reset the have_emitted_uma_ flag while the compositor thread is processing input and checks the flag. Make it atomic to avoid this problem. Bug: 1068119 Change-Id: If6d633f18a6bb645a479cc27317ab6bb99fed708 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144776Reviewed-by:David Bokan <bokan@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org> Auto-Submit: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#758893}
Showing
Please register or sign in to comment