Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Issue 14230008: Fix CHECK failure in l10n_util::IsLocaleAvailable(). (Closed)

Created:
7 years, 8 months ago by hshi1
Modified:
7 years, 8 months ago
Reviewers:
jungshik at Google
CC:
chromium-reviews, jshin+watch_chromium.org
Visibility:
Public.

Description

Fix CHECK failure in l10n_util::IsLocaleAvailable(). If the ResourceBundle is not yet initialized, l10n_util::IsLocaleAvailable() should return false to avoid the CHECK failure in ResourceBundle::GetSharedInstance(). BUG=230432 TEST=CQ Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194463

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding a TODO comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M ui/base/l10n/l10n_util.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hshi1
Junshik, can you please review this? This failure came up after I landed my previous ...
7 years, 8 months ago (2013-04-16 18:17:32 UTC) #1
hshi1
FWIW - I still don't have a Windows machine to test this, but on a ...
7 years, 8 months ago (2013-04-16 19:34:42 UTC) #2
jungshik at Google
https://codereview.chromium.org/14230008/diff/1/ui/base/l10n/l10n_util.cc File ui/base/l10n/l10n_util.cc (right): https://codereview.chromium.org/14230008/diff/1/ui/base/l10n/l10n_util.cc#newcode252 ui/base/l10n/l10n_util.cc:252: return false; With this, in https://codereview.chromium.org/13825003/ , we'll always ...
7 years, 8 months ago (2013-04-16 20:04:55 UTC) #3
hshi1
https://codereview.chromium.org/14230008/diff/1/ui/base/l10n/l10n_util.cc File ui/base/l10n/l10n_util.cc (right): https://codereview.chromium.org/14230008/diff/1/ui/base/l10n/l10n_util.cc#newcode252 ui/base/l10n/l10n_util.cc:252: return false; It seems very difficult to make LocaleDataPakExists() ...
7 years, 8 months ago (2013-04-16 20:36:39 UTC) #4
hshi1
Would it be ok to land this first to fix the CHECK failure and track ...
7 years, 8 months ago (2013-04-16 20:46:29 UTC) #5
jungshik at Google
On 2013/04/16 20:46:29, hshi1 wrote: > Would it be ok to land this first to ...
7 years, 8 months ago (2013-04-16 20:53:24 UTC) #6
hshi1
7 years, 8 months ago (2013-04-16 22:13:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r194463 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698