diff options
-rw-r--r-- | chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js | 8 | ||||
-rw-r--r-- | chrome/chrome_dll.gypi | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js b/chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js index f244936..b0c0dfe 100644 --- a/chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js +++ b/chrome/browser/resources/bookmark_manager/js/bmm/bookmarklist.js @@ -384,8 +384,12 @@ cr.define('bmm', function() { var labelEl = el.firstChild; labelEl.textContent = bookmarkNode.title; if (!bmm.isFolder(bookmarkNode)) { - labelEl.style.backgroundImage = url('chrome://favicon/' + - bookmarkNode.url); + // TODO(arv): Switch to favicon when the bug is fixed: + // http://code.google.com/p/chromium/issues/detail?id=37802 + labelEl.style.backgroundImage = url('images/default_favicon.png'); + //labelEl.style.backgroundImage = url('chrome://favicon/' + + // bookmarkNode.url); + var urlEl = el.childNodes[1].firstChild; urlEl.textContent = urlEl.href = bookmarkNode.url; } else { diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi index e09dae8..74ee4d0 100644 --- a/chrome/chrome_dll.gypi +++ b/chrome/chrome_dll.gypi @@ -134,6 +134,7 @@ 'browser/resources/bookmark_manager/images/bookmark_bar_folder_mac.png', 'browser/resources/bookmark_manager/images/bookmarks_favicon.png', 'browser/resources/bookmark_manager/images/bookmarks_section.png', + 'browser/resources/bookmark_manager/images/default_favicon.png', 'browser/resources/bookmark_manager/images/folder_closed.png', 'browser/resources/bookmark_manager/images/bookmark_manager_search.png', 'browser/resources/bookmark_manager/images/folder_closed_rtl.png', |