summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-24 07:21:12 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-24 07:21:12 +0000
commit0cde8755bb7d2723c328e8db5c6db5024dd6849e (patch)
treea9d867fb45fee5659869420a2a97714b17b6b63f
parentae3aaca336589f540ec09c0903bb32a6eb0c66b0 (diff)
downloadchromium_src-0cde8755bb7d2723c328e8db5c6db5024dd6849e.zip
chromium_src-0cde8755bb7d2723c328e8db5c6db5024dd6849e.tar.gz
chromium_src-0cde8755bb7d2723c328e8db5c6db5024dd6849e.tar.bz2
Fix chrome://touch-icon URL regression due to https://codereview.chromium.org/11787015/
I forgot to fix the chrome://touch-icon/ URLs to include the now mandatory scale factor parameter. BUG=171786 Test=See bug TBR=estade Review URL: https://chromiumcodereview.appspot.com/12040054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178544 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/ntp_android/ntp_android.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/resources/ntp_android/ntp_android.js b/chrome/browser/resources/ntp_android/ntp_android.js
index 194c89d..963dcb3 100644
--- a/chrome/browser/resources/ntp_android/ntp_android.js
+++ b/chrome/browser/resources/ntp_android/ntp_android.js
@@ -582,7 +582,7 @@ cr.define('ntp', function() {
cell.setAttribute(CONTEXT_MENU_URL_KEY, item.url);
- var iconUrl = item.icon || 'chrome://touch-icon/size/16/' + item.url;
+ var iconUrl = item.icon || 'chrome://touch-icon/size/16@1x/' + item.url;
var icon = createDiv('icon', iconUrl);
trackImageLoad(iconUrl);
cell.appendChild(icon);
@@ -801,7 +801,7 @@ cr.define('ntp', function() {
listItem.setAttribute(CONTEXT_MENU_URL_KEY, item.url);
var iconSize = item.iconSize || 64;
var iconUrl = item.icon ||
- 'chrome://touch-icon/size/' + iconSize + '/' + item.url;
+ 'chrome://touch-icon/size/' + iconSize + '@1x/' + item.url;
listItem.appendChild(createDiv('icon', iconUrl));
trackImageLoad(iconUrl);
var title = createElement('span', {