| Index: chrome/browser/resources/chromeos/active_downloads.js
|
| diff --git a/chrome/browser/resources/chromeos/active_downloads.js b/chrome/browser/resources/chromeos/active_downloads.js
|
| index 3615d59b66724801719f0b25be37b44d9f6b8454..1937c112a88cd43ba8496c2559ab51f28f20bfaa 100644
|
| --- a/chrome/browser/resources/chromeos/active_downloads.js
|
| +++ b/chrome/browser/resources/chromeos/active_downloads.js
|
| @@ -233,10 +233,11 @@ DownloadRow.prototype = {
|
| },
|
|
|
| setDangerousIcon_: function(warning) {
|
| + var escapedPath = encodeURIComponent(this.path).replace(/'/g,'%27');
|
| this.icon.className = warning ? 'iconwarning' : 'icon';
|
| this.icon.style.background = warning ? '' :
|
| - 'url(chrome://fileicon' + escape(this.path) +
|
| - '?iconsize=small) no-repeat';
|
| + 'url(\'chrome://fileicon/' + escapedPath +
|
| + '?iconsize=small\') no-repeat';
|
| },
|
|
|
| /**
|
|
|