Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index b532bf00ed8d04f5207af724b353880e80420f5a..ff078208fd5b9443483e5354f7c2c113ca463c40 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -264,8 +264,8 @@ void ShellMainDelegate::InitializeResourceBundle() { |
base::GlobalDescriptors::GetInstance()->MaybeGet(kShellPakDescriptor); |
if (pak_fd >= 0) { |
// This is clearly wrong. See crbug.com/330930 |
- ui::ResourceBundle::InitSharedInstanceWithPakFile(base::File(pak_fd), |
- false); |
+ ui::ResourceBundle::InitSharedInstanceWithPakFileRegion( |
+ base::File(pak_fd), base::MemoryMappedFile::Region::kWholeFile, false); |
ResourceBundle::GetSharedInstance().AddDataPackFromFile( |
base::File(pak_fd), ui::SCALE_FACTOR_100P); |
return; |