diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 21:49:50 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 21:49:50 +0000 |
commit | 0ec65a206162e22de14d2c50661fee6046c0c877 (patch) | |
tree | 11a9aeb31120a6e83444f2cdc3be924105db6607 /chrome | |
parent | 2ce0d6276ac1af6f62dd08d2ddd1e689e2daefd6 (diff) | |
download | chromium_src-0ec65a206162e22de14d2c50661fee6046c0c877.zip chromium_src-0ec65a206162e22de14d2c50661fee6046c0c877.tar.gz chromium_src-0ec65a206162e22de14d2c50661fee6046c0c877.tar.bz2 |
Fix issue where the favicon was not shown on the NNTP
BUG=18186
TEST=Go to the new tab page. You should see favicons next to the most visited thumbnail title.
Review URL: http://codereview.chromium.org/160528
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22320 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/resources/new_new_tab.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js index 86fb8dc..e944003 100644 --- a/chrome/browser/resources/new_new_tab.js +++ b/chrome/browser/resources/new_new_tab.js @@ -249,7 +249,7 @@ function renderMostVisited(data) { var titleDiv = t.querySelector('.title > div'); titleDiv.xtitle = titleDiv.textContent = d.title; var faviconUrl = d.faviconUrl || 'chrome://favicon/' + d.url; - titleDiv.style.backgroundImage = encodeURI(url); + titleDiv.style.backgroundImage = url(faviconUrl); titleDiv.dir = d.direction; } } |