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

Unified Diff: chrome/browser/resources/options/password_manager_list.js

Issue 11787015: Allow the password manager in the settings page to have hidpi favicons too (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 11 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
Index: chrome/browser/resources/options/password_manager_list.js
diff --git a/chrome/browser/resources/options/password_manager_list.js b/chrome/browser/resources/options/password_manager_list.js
index 8a9bdcd35925a46f5a03a446890939722351874c..5f3aee4a75bd81c4926c788c573f7e31e03ef32d 100644
--- a/chrome/browser/resources/options/password_manager_list.js
+++ b/chrome/browser/resources/options/password_manager_list.js
@@ -44,8 +44,8 @@ cr.define('options.passwordManager', function() {
// http) is being used. This ensures that the favicon returned is the
// default favicon for the domain and that the URL has a scheme if none
// is present in the password manager.
- urlLabel.style.backgroundImage =
- url('chrome://favicon/origin/' + this.url);
+ urlLabel.style.backgroundImage = getFaviconImageSet(
+ 'origin/' + this.url, 16);
this.contentElement.appendChild(urlLabel);
// The stored username.
@@ -185,8 +185,8 @@ cr.define('options.passwordManager', function() {
// http) is being used. This ensures that the favicon returned is the
// default favicon for the domain and that the URL has a scheme if none
// is present in the password manager.
- urlLabel.style.backgroundImage =
- url('chrome://favicon/origin/' + this.url);
+ urlLabel.style.backgroundImage = getFaviconImageSet(
+ 'origin/' + this.url, 16);
this.contentElement.appendChild(urlLabel);
},

Powered by Google App Engine
This is Rietveld 408576698