| Index: chrome/browser/resources/file_manager/js/default_action_dialog.js
|
| diff --git a/chrome/browser/resources/file_manager/js/default_action_dialog.js b/chrome/browser/resources/file_manager/js/default_action_dialog.js
|
| index f84a6ea1dfb4ce550888b31593d27c9ed7c1485c..55ed02eb440040323989f61ca7dcb525f37222b2 100644
|
| --- a/chrome/browser/resources/file_manager/js/default_action_dialog.js
|
| +++ b/chrome/browser/resources/file_manager/js/default_action_dialog.js
|
| @@ -69,11 +69,11 @@ cr.define('cr.filebrowser', function() {
|
| var div = this.document_.createElement('div');
|
| div.textContent = item.label;
|
|
|
| - if (item.iconType)
|
| + if (item.iconType) {
|
| div.setAttribute('file-type-icon', item.iconType);
|
| -
|
| - if (item.iconUrl)
|
| + } else if (item.iconUrl) {
|
| div.style.backgroundImage = 'url(' + item.iconUrl + ')';
|
| + }
|
|
|
| if (item.class)
|
| div.classList.add(item.class);
|
|
|