DescriptionFormFetcherImpl: MakeWeakCopies no longer a template
MakeWeakCopies is a helper function inside the FormFetcherImpl implementation.
It transforms a vector of unique_ptrs into the result of calling get() on them.
It used to be used for pointers of different types, therefore it was a function
template. But after https://codereview.chromium.org/2552263002, MakeWeakCopies
is only used with PasswordForms.
This CL:
* Converts MakeWeakCopies to a simple function.
* Removes some unnecessary "autofill::" in the same file.
BUG=621355
R=vasilii@chromium.org
Committed: https://crrev.com/a97b4417b06a86a4f006e4a06979817d3e552015
Cr-Commit-Position: refs/heads/master@{#439795}
Patch Set 1 #
Total comments: 2
Patch Set 2 : resize -> constructor #Messages
Total messages: 15 (9 generated)
|