Index: ui/base/resource/resource_bundle_gtk.cc |
diff --git a/ui/base/resource/resource_bundle_gtk.cc b/ui/base/resource/resource_bundle_gtk.cc |
index d969bc0256fe0691b2c5d6b86b2c7060f175dce2..2b90f5b2e93dabf43bf7d974a4fd73a73a2f427e 100644 |
--- a/ui/base/resource/resource_bundle_gtk.cc |
+++ b/ui/base/resource/resource_bundle_gtk.cc |
@@ -65,12 +65,12 @@ FilePath GetResourcesPakFilePath(const std::string& pak_name) { |
} // namespace |
void ResourceBundle::LoadCommonResources() { |
- AddDataPack(GetResourcesPakFilePath("chrome.pak"), |
- SCALE_FACTOR_100P); |
- AddDataPack(GetResourcesPakFilePath("theme_resources_standard.pak"), |
- SCALE_FACTOR_100P); |
- AddDataPack(GetResourcesPakFilePath("ui_resources_standard.pak"), |
- SCALE_FACTOR_100P); |
+ AddDataPackFromPath(GetResourcesPakFilePath("chrome.pak"), |
+ SCALE_FACTOR_100P); |
+ AddDataPackFromPath(GetResourcesPakFilePath("theme_resources_standard.pak"), |
+ SCALE_FACTOR_100P); |
+ AddDataPackFromPath(GetResourcesPakFilePath("ui_resources_standard.pak"), |
+ SCALE_FACTOR_100P); |
} |
gfx::Image& ResourceBundle::GetNativeImageNamed(int resource_id, ImageRTL rtl) { |