Fix SysStrings unit test failure on Chromecast

Chromecast has a utf8 locale, and all calls to setlocale with non-NULL
locale name fail.  Some of these issues were addressed previously in
https://codereview.chromium.org/790903003/
but we still had failures remaining in SysStrings unit tests, in
particular ScopedLocale was failing to set the locale.

BUG=internal b/19627216

Review URL: https://codereview.chromium.org/987943002

Cr-Commit-Position: refs/heads/master@{#319814}


CrOS-Libchrome-Original-Commit: 2a7adaba24106ab82ae09d36bc7cf1668a14fccd
2 files changed
tree: feb0e27a2e7f3828992d97356f9204cb70cbcb1f
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/