diff options
Diffstat (limited to 'www/chromium/files/patch-ui_webui_resources_js_icon.js')
-rw-r--r-- | www/chromium/files/patch-ui_webui_resources_js_icon.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/chromium/files/patch-ui_webui_resources_js_icon.js b/www/chromium/files/patch-ui_webui_resources_js_icon.js index 1ce1cd0e04b0..5ac75395ba24 100644 --- a/www/chromium/files/patch-ui_webui_resources_js_icon.js +++ b/www/chromium/files/patch-ui_webui_resources_js_icon.js @@ -1,11 +1,11 @@ ---- ui/webui/resources/js/icon.js.orig 2016-08-04 10:04:19.233504000 -0400 -+++ ui/webui/resources/js/icon.js 2016-08-04 10:04:37.016751000 -0400 -@@ -9,7 +9,7 @@ - */ - function getSupportedScaleFactors() { - var supportedScaleFactors = []; +--- ui/webui/resources/js/icon.js.orig 2016-12-12 22:24:45 UTC ++++ ui/webui/resources/js/icon.js +@@ -14,7 +14,7 @@ cr.define('cr.icon', function() { + // supports SCALE_FACTOR_100P on all non-iOS platforms. + supportedScaleFactors.push(1); + } - if (cr.isMac || cr.isChromeOS || cr.isWindows || cr.isLinux) { + if (cr.isMac || cr.isChromeOS || cr.isWindows || cr.isLinux || cr.isBSD) { - // All desktop platforms support zooming which also updates the - // renderer's device scale factors (a.k.a devicePixelRatio), and - // these platforms has high DPI assets for 2.0x. Use 1x and 2x in + // All desktop platforms support zooming which also updates the renderer's + // device scale factors (a.k.a devicePixelRatio), and these platforms have + // high DPI assets for 2x. Let the renderer pick the closest image for |