fix: Initialize resource bundle for the browser process earlier
This commit is contained in:
parent
1de0152b6b
commit
4089620729
5 changed files with 31 additions and 31 deletions
|
@ -158,8 +158,6 @@ AtomBrowserClient* AtomBrowserClient::Get() {
|
|||
|
||||
// static
|
||||
void AtomBrowserClient::SetApplicationLocale(const std::string& locale) {
|
||||
DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
||||
|
||||
if (!BrowserThread::IsThreadInitialized(BrowserThread::IO) ||
|
||||
!base::PostTaskWithTraits(
|
||||
FROM_HERE, {BrowserThread::IO},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue