Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4167)

Unified Diff: chrome/browser/resources/ntp4/other_sessions.js

Issue 11747016: Add support for high DPI favicons on the "other devices" menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/shared/js/util.js » ('j') | chrome/browser/ui/webui/favicon_source.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/other_sessions.js
diff --git a/chrome/browser/resources/ntp4/other_sessions.js b/chrome/browser/resources/ntp4/other_sessions.js
index 59409c989691be6ca9323efb5a944bf52e0623cc..2c28a788ca2bd7646a5e8acfa5c6ba98708c944e 100644
--- a/chrome/browser/resources/ntp4/other_sessions.js
+++ b/chrome/browser/resources/ntp4/other_sessions.js
@@ -212,7 +212,8 @@ cr.define('ntp', function() {
a.className = 'footer-menu-item';
a.textContent = tab.title;
a.href = tab.url;
- a.style.backgroundImage = url('chrome://session-favicon/' + tab.url);
+ a.style.backgroundImage = url(
+ getFaviconUrl(tab.url, 16, /* session-favicon */ true));
var clickHandler = this.makeClickHandler_(
session.tag, String(window.sessionId), String(tab.sessionId));
« no previous file with comments | « no previous file | chrome/browser/resources/shared/js/util.js » ('j') | chrome/browser/ui/webui/favicon_source.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698