Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index a2be6f10b0020615b0ecfe8e342827029da54c0b..3f30351a5c399c264766be82039414311fefeb0f 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -723,8 +723,10 @@ void ChromeMainDelegate::PreSandboxStartup() { |
int locale_pak_fd = base::GlobalDescriptors::GetInstance()->MaybeGet( |
kAndroidLocalePakDescriptor); |
CHECK(locale_pak_fd != -1); |
- ResourceBundle::InitSharedInstanceWithPakFile(base::File(locale_pak_fd), |
- false); |
+ ResourceBundle::InitSharedInstanceWithPakFileRegion( |
+ base::File(locale_pak_fd), |
+ base::MemoryMappedFile::Region::kWholeFile, |
+ false); |
int extra_pak_keys[] = { |
kAndroidChrome100PercentPakDescriptor, |