| Index: base/i18n/timezone.cc
|
| diff --git a/base/i18n/timezone.cc b/base/i18n/timezone.cc
|
| index e881c9d680f8277dfeb384365399f23a2268c467..95e7aee34c4c159b309de9f5f3f94eb85bd2444e 100644
|
| --- a/base/i18n/timezone.cc
|
| +++ b/base/i18n/timezone.cc
|
| @@ -610,9 +610,9 @@ std::string CountryCodeForCurrentTimezone() {
|
| std::unique_ptr<icu::TimeZone> zone(icu::TimeZone::createDefault());
|
| icu::UnicodeString id;
|
| zone->getID(id);
|
| - string16 olson_code(id.getBuffer(), id.length());
|
| + std::string olson_code;
|
| return TimezoneMap::GetInstance()->CountryCodeForTimezone(
|
| - UTF16ToUTF8(olson_code));
|
| + id.toUTF8String(olson_code));
|
| }
|
|
|
| } // namespace base
|
|
|