From 77e507bdf737ccbf193352ebd09554fea12c2f44 Mon Sep 17 00:00:00 2001 From: jshin Date: Thu, 23 Apr 2015 18:13:15 -0700 Subject: Improve the timezone matching GetKnownTimezoneOrNull() is supposed to find a matching timezone entry to an input tz id in the CrOS tz list. When looking for a match, the canonical ids have to be taken into account. Note: This CL started as a speculative fix to bug 466014, but I couldn't verify that it fixes the bug on CrOS. It does fix the bug when I tested 'Chrome with cros=1' on Linux (i.e. stub implementation.) with tz changed on Linux. BUG=466014 TEST=manual: see the bug Review URL: https://codereview.chromium.org/1082323003 Cr-Commit-Position: refs/heads/master@{#326709} --- chromeos/BUILD.gn | 1 + 1 file changed, 1 insertion(+) (limited to 'chromeos/BUILD.gn') diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn index afa1728..ff31dbc 100644 --- a/chromeos/BUILD.gn +++ b/chromeos/BUILD.gn @@ -140,6 +140,7 @@ test("chromeos_unittests") { "//net:test_support", "//testing/gmock", "//testing/gtest", + "//third_party/icu", "//url", ":cryptohome_proto", ":power_manager_proto", -- cgit v1.1