[Nearby] Remove surprising use of unique_ptr for CorePayload.
Discovered while debugging crbug.com/2393616. The code in question moves the wrapped CorePayload of a std::unique_ptr<CorePayload>, instead of moving the entire smart pointer. Resolved by simply not using std::unique_ptr in the first place. Also fix a minor typo discovered while debugging. Bug: 2393616 Change-Id: I518230bd2ced6735d13f4fc8fbee54758ceec1e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2398952 Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Reviewed-by:James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#805154}
Showing
Please register or sign in to comment