summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 21:28:20 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 21:28:20 +0000
commit61a796c49a99e1e43e462ffd20a489f2142efcc8 (patch)
tree255809046b1d17f645b2fad9d3ecebf06c628915 /chrome/tools
parent3a62d03239d6e7aacdb94650aae6d962badc0c24 (diff)
downloadchromium_src-61a796c49a99e1e43e462ffd20a489f2142efcc8.zip
chromium_src-61a796c49a99e1e43e462ffd20a489f2142efcc8.tar.gz
chromium_src-61a796c49a99e1e43e462ffd20a489f2142efcc8.tar.bz2
Revert 137734 - Select theme resources from ResourceBundle at requested scale factor.
Return the best match for a requested scale factor when fetching raw image data from ResourceBundle. TBR=aa,abodenha BUG=123611 TEST=ResourceBundle.LoadImageResourceBytes Review URL: https://chromiumcodereview.appspot.com/10387010 TBR=flackr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/mac_helpers/infoplist_strings_util.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/tools/mac_helpers/infoplist_strings_util.mm b/chrome/tools/mac_helpers/infoplist_strings_util.mm
index 051013b..270e07f 100644
--- a/chrome/tools/mac_helpers/infoplist_strings_util.mm
+++ b/chrome/tools/mac_helpers/infoplist_strings_util.mm
@@ -60,7 +60,7 @@ ui::DataPack* LoadResourceDataPack(const char* dir_path,
dir_path, branding_strings_name, locale_name];
if (resource_path) {
FilePath resources_pak_path([resource_path fileSystemRepresentation]);
- resource_pack = new ui::DataPack(ui::SCALE_FACTOR_100P);
+ resource_pack = new ui::DataPack(ui::ResourceHandle::kScaleFactor100x);
bool success = resource_pack->Load(resources_pak_path);
if (!success) {
delete resource_pack;