Fixes for getting themes to work well with Windows High DPI.
The changes are to use the GetScaleForScaleFactor function to get the scale instead of GetImageScale. The latter function returns the current display scale on Windows which causes themes to break. The other change is in the ctor of the BrowserThemePack class where we add SCALE_FACTOR_100P to the list of supported scales as it is needed for default theme packs to work correctly. BUG=362979 R=oshima@chromium.org, pkotwicz@chromium.org, oshima Review URL: https://codereview.chromium.org/296643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271999 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment