[IndexedDB] Avoid race condition in context shutdown
This change avoids a race condition in IndexedDBContextImpl's Shutdown method. In that method, std::move is used on a variable on the UI, where that variable is supposed to be only accesed or modified on the IDB task runner. Being a race condition, this is really hard to test, and I'm not sure what I would do to test this. It is also not necessarily the fix for the given bug. Bug: 1018741 Change-Id: Ia071e5a053952af8c74aa30e0e5e218c4b97100f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885498Reviewed-by:Chase Phillips <cmp@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#710906}
Showing
Please register or sign in to comment