Chromium Code Reviews| Index: chrome/browser/resources/task_manager/main.js |
| diff --git a/chrome/browser/resources/task_manager/main.js b/chrome/browser/resources/task_manager/main.js |
| index 5beea99777d055251500958addfd7b3921528221..7feaa734d1bb9d131ee0d6230697ac5bd34a69cc 100644 |
| --- a/chrome/browser/resources/task_manager/main.js |
| +++ b/chrome/browser/resources/task_manager/main.js |
| @@ -498,6 +498,11 @@ TaskManager.prototype = { |
| // Stores the cell element to the dictionary. |
| this.elementsCache_[pid].cell[i] = cell; |
| } |
| + |
| + // Specifies the height of the row. The height of each row is |
| + // 'num_of_tasks * 20' px. |
|
mazda
2012/01/26 11:20:15
Please make a variable for 20.
yoshiki
2012/01/31 11:30:35
Done.
|
| + listItem.style.height = (data['uniqueId'].length * 20) + 'px'; |
| + |
| listItem.data = data; |
| // Stores the list item element, the number of columns and the number of |