| Index: services/shell/runner/init.cc
|
| diff --git a/services/shell/runner/init.cc b/services/shell/runner/init.cc
|
| index a78e3f34a8cfa887fe24b815f47caa76c0d180ef..8d095f0f2fcdb3cf7a0744dee445925a723ef3ab 100644
|
| --- a/services/shell/runner/init.cc
|
| +++ b/services/shell/runner/init.cc
|
| @@ -76,6 +76,8 @@ void WaitForDebuggerIfNecessary() {
|
|
|
| void CallLibraryEarlyInitialization(base::NativeLibrary app_library) {
|
| // Do whatever warming that the mojo application wants.
|
| +
|
| +#if ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE
|
| typedef void (*LibraryEarlyInitFunction)(const uint8_t*);
|
| LibraryEarlyInitFunction init_function =
|
| reinterpret_cast<LibraryEarlyInitFunction>(
|
| @@ -87,6 +89,7 @@ void CallLibraryEarlyInitialization(base::NativeLibrary app_library) {
|
| const uint8_t* icu_data = base::i18n::GetRawIcuMemory();
|
| init_function(icu_data);
|
| }
|
| +#endif // ICU_UTIL_DATA_IMPL == ICU_UTIL_DATA_FILE
|
|
|
| // TODO(erg): All chromium binaries load base. We might want to make a
|
| // general system for other people.
|
|
|