Ensure that bitmaps are scaled to the correct scale factor on Windows.
commitc83c352d015625fae38a78aaad9a0861e9bbef03
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Mar 2014 19:47:26 +0000 (25 19:47 +0000)
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 25 Mar 2014 19:47:26 +0000 (25 19:47 +0000)
tree7095c47324d152dafce06b0b2539f1220732236b
parent6de145f689607d9f4f83ea22b95209e7ea4f2b82
Ensure that bitmaps are scaled to the correct scale factor on Windows.

The scaling is isolated in a function PlatformScaleImage which
is only implemented for Windows.

BUG=351927
R=cpu@chromium.org, pkotwicz@chromium.org, sky@chromium.org

Review URL: https://codereview.chromium.org/207393002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259301 0039d316-1c4b-4281-b951-d872f2087c98
ui/base/resource/resource_bundle.cc
ui/base/resource/resource_bundle.h
ui/base/resource/resource_bundle_win.cc