Fix lifetime bug in SSLClientCertificateSelectorMacTest.CancellationCallback
Now using a WeakPtr for the TestClientCertificateDelegateResults object. Previously, the TestClientCertificateDelegate retained a raw pointer to the stack-allocated results object. The problem is described in more detail in a comment inside this commit's patch. Bug: 1041175 Change-Id: I6a52ba0172d0c066a97eb8c8ef316084480f3ae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1996984 Commit-Queue: Dan McArdle <dmcardle@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#731003}
Showing
Please register or sign in to comment