Fix DCHECK fail in SpellcheckPlatformWinTest.SpellCheckAsyncMethods
ResolveLocaleName should only fail if buffer size insufficient, but it can succeed yet return an empty string for certain language tags such as ht. Fix is to not DCHECK when ResolveLocaleName fails to return a valid locale name, and instead fallback to the unresolved name. Also adds DVLOG logging when a language with no platform dictionary support is encountered (like zh-CN). Bug: 1031556 Change-Id: I2602f247742b9ccf96c885339f6390639f6cf981 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1955801Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Bruce Long <brlong@microsoft.com> Cr-Commit-Position: refs/heads/master@{#722966}
Showing
Please register or sign in to comment