PlatformKeysService: Change a const ref unique_ptr parameter
According to the style guide [*] there should rarely be a need to pass smart pointers by const ref. The current implementation of GetPrivateKey accepts a slot smart pointer by const ref. This CL changes this parameter to a raw pointer. [*] https://chromium.googlesource.com/chromium/src/+/master/styleguide/c++/c++.md#object-ownership-and-calling-conventions Bug: 1131435 Change-Id: I4060855d3580ef75e2983ca08ae47091c139b379 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426404Reviewed-by:Maksim Ivanov <emaxx@chromium.org> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Commit-Queue: Omar Morsi <omorsi@google.com> Cr-Commit-Position: refs/heads/master@{#810145}
Showing
Please register or sign in to comment