Fix some nits in clipboard_util.cc.
- Use base::StrCat() to more efficiently concatenate strings. - Use the base::span version of base::Base64Encode(). - Get rid of the weird scoping in CopyImageToClipboard(). - Use base::MakeRefCounted() instead of the new keyword. Change-Id: Ia36fe209b48851000fa875f9e38366660081b8eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2429973Reviewed-by:Ricardo Quesada <ricardoq@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#810776}
Showing
Please register or sign in to comment