DescriptionFix the signature of PasswordFormManager::UpdateMetadataForUsage
The method took a const reference for a PasswordForm, but never used it.
Instead it hard-coded using pending_credentials_, which was passed as the
argument all the times anyway. This CL changes the function to use its
argument, changes the argument from a const ref to a non-const pointer to allow
modification, and moves the function to the anonymous namespace, because it
does not need any state of PasswordFormManager.
R=kolos@chromium.org
BUG=621355
Committed: https://crrev.com/848ab72cddf925c8554b0fd7713fa2c919807e2f
Cr-Commit-Position: refs/heads/master@{#400683}
Patch Set 1 #
Messages
Total messages: 13 (4 generated)
|