DescriptionPasswordFormManager: Clean up PasswordForm pointer ownership.
In the PasswordFormManager::OnRequestDone method, I found some usage of
raw pointers to elements of a ScopedVector with confusing ownership over
a lot of code. Rewrote the code to use scoped_ptrs so that the ownership
is always clear, and nothing needs to be manually deleted.
BUG=451018
Committed: https://crrev.com/f83db42d42fe8b672e13316c54110d4cf2315828
Cr-Commit-Position: refs/heads/master@{#326745}
Patch Set 1 #Patch Set 2 : Added include. #
Total comments: 5
Patch Set 3 : Revert back to using a reference (minimize map lookups). #
Messages
Total messages: 10 (2 generated)
|