Index: chrome/browser/resources/downloads.js |
diff --git a/chrome/browser/resources/downloads.js b/chrome/browser/resources/downloads.js |
index ecdba4edce4826260012d10b55f736d5b97bd9d7..735326ca723b194f9e86176391dd512bd179172d 100644 |
--- a/chrome/browser/resources/downloads.js |
+++ b/chrome/browser/resources/downloads.js |
@@ -394,7 +394,8 @@ Download.prototype.update = function(download) { |
this.safe_.style.display = 'none'; |
} else { |
downloads.scheduleIconLoad(this.nodeImg_, |
- 'chrome://fileicon/' + this.filePath_); |
+ 'chrome://fileicon/' + |
+ encodeURIComponent(this.filePath_)); |
achuithb
2012/01/23 20:59:27
please make sure this is tested on a chromeos devi
achuithb
2012/01/23 21:01:10
I should've phrased this better - we should make s
asanka
2012/01/26 00:49:35
Done.
|
if (this.state_ == Download.States.COMPLETE && |
!this.fileExternallyRemoved_) { |