| Index: base/i18n/icu_util.h
|
| diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h
|
| index e9f7c3d85b4676c87f9ac5daead2b8994ae3eaa0..65de0ad7e215f96db0e0abe8eed16c014f788986 100644
|
| --- a/base/i18n/icu_util.h
|
| +++ b/base/i18n/icu_util.h
|
| @@ -18,14 +18,12 @@ BASE_I18N_EXPORT extern const char kIcuDataFileName[];
|
| // Call this function to load ICU's data tables for the current process. This
|
| // function should be called before ICU is used.
|
| BASE_I18N_EXPORT bool InitializeICU();
|
| -#endif
|
|
|
| -#if defined(OS_ANDROID)
|
| -// Android uses a file descriptor passed by browser process to initialize ICU
|
| -// in render processes.
|
| +// Android and html_viewer use a file descriptor passed by browser process to
|
| +// initialize ICU in render processes.
|
| BASE_I18N_EXPORT bool InitializeICUWithFileDescriptor(
|
| - int data_fd,
|
| - base::MemoryMappedFile::Region data_region);
|
| + PlatformFile data_fd,
|
| + MemoryMappedFile::Region data_region);
|
| #endif
|
|
|
| // In a test binary, the call above might occur twice.
|
|
|