Index: chrome/app/chrome_main_delegate.cc |
=================================================================== |
--- chrome/app/chrome_main_delegate.cc (revision 177707) |
+++ chrome/app/chrome_main_delegate.cc (working copy) |
@@ -608,6 +608,7 @@ |
int extra_pak_keys[] = { |
kAndroidChromePakDescriptor, |
+ kAndroidChrome100PercentPakDescriptor, |
kAndroidUIResourcesPakDescriptor, |
}; |
for (size_t i = 0; i < arraysize(extra_pak_keys); ++i) { |
@@ -622,6 +623,11 @@ |
#else |
const std::string loaded_locale = |
ResourceBundle::InitSharedInstanceWithLocale(locale, NULL); |
+ |
+ FilePath resources_pack_path; |
+ PathService::Get(chrome::FILE_RESOURCES_PACK, &resources_pack_path); |
+ ResourceBundle::GetSharedInstance().AddDataPackFromPath( |
+ resources_pack_path, ui::SCALE_FACTOR_NONE); |
#endif |
CHECK(!loaded_locale.empty()) << "Locale could not be found for " << |
locale; |