Chromium Code Reviews| Index: chrome/browser/resources/shared/js/cr/ui/list.js |
| diff --git a/chrome/browser/resources/shared/js/cr/ui/list.js b/chrome/browser/resources/shared/js/cr/ui/list.js |
| index 5817412116844e011f14de4659c9e7ffc479427f..032d2807d8d9d7a9ee26a05ba415ecb485587c4b 100644 |
| --- a/chrome/browser/resources/shared/js/cr/ui/list.js |
| +++ b/chrome/browser/resources/shared/js/cr/ui/list.js |
| @@ -55,7 +55,7 @@ cr.define('cr.ui', function() { |
| } |
| list.removeChild(item); |
| - return h; |
| + return Math.max(0, h); |
| } |
| function getComputedStyle(el) { |