commit | aab16e54cb6ab712b477ed9eed8b9aa52098572c | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Sun Dec 13 23:12:31 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sun Dec 13 23:12:31 2015 -0800 |
tree | 8ad14edfeb9c6f134daa0d1f347ba4e85a432f0d | |
parent | 48373921917d9d9cfab71ece8f1ad3a84a5a6033 [diff] |
Try to fix intermittent GrAutoLocaleSetter crashes on Windows Try to fix intermittent GrAutoLocaleSetter crashes on Windows. The string returned by setlocale() is only valid up to next setlocale(), so it can not be fed to setlocale(). Also, libraries such as ANGLE might call setlocale when inside a callstack containing GrAutoLocaleSetter. This would render the old locale pointer invalid. Review URL: https://codereview.chromium.org/1514083002