Avoid UTF8 to UTF16 to UTF8 conversions with base::Value.
There are a couple places that starts with UTF8 data and converts them to UTF16 before passing them to base::Value. base::Value turns around and converts it back to UTF8. Fix some nits along the way. Change-Id: I10ad741de22aecc04b37fa633ab0033a26acc688 Reviewed-on: https://chromium-review.googlesource.com/1188033Reviewed-by:Jonathan Ross <jonross@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#585848}
Showing
Please register or sign in to comment