Skip to content
Commit ab4543a8 authored by Brett Wilson's avatar Brett Wilson Committed by Chromium LUCI CQ
Browse files

Update SetLocale comments.

BrowserProcess::SetLocale had a comment that this is only called on
startup before any threads are created, but this is not true in Ash
which calls this in response to system locale changes. (On other
platforms, changing the locale at runtime is either not possible or
requires a browser restart.) This comment is removed.

Clarify in the header that SetLocale doesn't actually update the UI. The
Ash code that sets the locale has to do a bunch of other stuff to ensure
the UI is up-to-date.

Change-Id: I2205723bb54d821ac087fdc4f30d0fec36b37ee4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5407811


Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Brett Wilson <brettw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1280245}
parent 0eeb1d62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment