Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 0c8f73371a16eb251f6c77c5b9605fa8b99053f1..2d15b738ea43e220b68c81f29848bd1ef14c50f3 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -2641,6 +2641,18 @@ void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
} |
} |
+ base::FilePath app_data_path; |
+ PathService::Get(base::DIR_ANDROID_APP_DATA, &app_data_path); |
+ DCHECK(!app_data_path.empty()); |
+ |
+ flags = base::File::FLAG_OPEN | base::File::FLAG_READ; |
+ base::FilePath icudata_path = |
+ app_data_path.AppendASCII("icudtl.dat"); |
+ base::File icudata_file(icudata_path, flags); |
+ DCHECK(icudata_file.IsValid()); |
+ mappings->push_back(FileDescriptorInfo(kAndroidICUDataDescriptor, |
+ FileDescriptor(icudata_file.Pass()))); |
+ |
#else |
int crash_signal_fd = GetCrashSignalFD(command_line); |
if (crash_signal_fd >= 0) { |