commit | 5e7b4f967b37cc303a20b87617446605f26f1867 | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Mon Aug 25 10:16:01 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 25 10:16:01 2014 -0700 |
tree | d18420aac29bebc2811ea2c9dbee54f6aa733c8c | |
parent | 708f154d7e25256038f43adeafbcf7b9aa74e40f [diff] |
Require length in sk_wchar_to_string. This information is already available at all call sites and allows the call to WideCharToMultiByte to not overwrite the '\0' in the writable_str() which isn't really writable. BUG=skia:1989 R=reed@google.com Author: bungeman@google.com Review URL: https://codereview.chromium.org/500113002