Index: base/i18n/time_formatting_unittest.cc |
diff --git a/base/i18n/time_formatting_unittest.cc b/base/i18n/time_formatting_unittest.cc |
index 04846c9ea3b563cbc4a120b44184d831974d5332..4739b62a740a7e91c0d74601babb3cd9b335dad5 100644 |
--- a/base/i18n/time_formatting_unittest.cc |
+++ b/base/i18n/time_formatting_unittest.cc |
@@ -23,12 +23,6 @@ const Time::Exploded kTestDateTimeExploded = { |
base::string16 GetShortTimeZone() { |
scoped_ptr<icu::TimeZone> zone(icu::TimeZone::createDefault()); |
- // This code shamelessly taken from |
- // src/chrome/browser/chromeos/system/timezone_util.cc. |
- int raw_offset, dst_offset; |
- UErrorCode status; |
- zone->getOffset(icu::Calendar::getNow(), false, raw_offset, dst_offset, |
- status); |
icu::UnicodeString name; |
zone->getDisplayName(true, icu::TimeZone::SHORT, name); |
return base::string16(name.getBuffer(), name.length()); |