Index: base/i18n/icu_util.cc |
diff --git a/base/i18n/icu_util.cc b/base/i18n/icu_util.cc |
index 6239a01ea829746e982d45f5061e47aadb14a76a..1d1d2119a6c8e87545788d464954befee7bbfee9 100644 |
--- a/base/i18n/icu_util.cc |
+++ b/base/i18n/icu_util.cc |
@@ -56,12 +56,11 @@ bool Initialize() { |
#if (ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_SHARED) |
// We expect to find the ICU data module alongside the current module. |
- std::wstring data_path; |
+ FilePath data_path; |
PathService::Get(base::DIR_MODULE, &data_path); |
- file_util::AppendToPath(&data_path, |
- ASCIIToWide(ICU_UTIL_DATA_SHARED_MODULE_NAME)); |
+ data_path = data_path.Append(ASCIIToWide(ICU_UTIL_DATA_SHARED_MODULE_NAME)); |
tony
2009/10/19 22:46:49
Nit: AppendASCII?
|
- HMODULE module = LoadLibrary(data_path.c_str()); |
+ HMODULE module = LoadLibrary(data_path.value().c_str()); |
if (!module) { |
LOG(ERROR) << "Failed to load " << ICU_UTIL_DATA_SHARED_MODULE_NAME; |
return false; |