
Avoid dangling ptr warnings during storage_unittests. Ownership of the delegate is passed into a receiver, and it may be destroyed at any time, invalidating our current raw_ptr. Bug: 1401495 Change-Id: I80596c44a891599e077273f641ce79f8017a0a5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4261461 Reviewed-by: Joshua Bell <jsbell@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1106867}