Chromium Code Reviews| Index: chrome/browser/resources/md_bookmarks/list.js |
| diff --git a/chrome/browser/resources/md_bookmarks/list.js b/chrome/browser/resources/md_bookmarks/list.js |
| index 07951140491ba312e760b37f12ed3423dcf921ae..a2d37be510b224bfe02dd848dd1ff4e4238bde32 100644 |
| --- a/chrome/browser/resources/md_bookmarks/list.js |
| +++ b/chrome/browser/resources/md_bookmarks/list.js |
| @@ -61,8 +61,8 @@ Polymer({ |
| * Updates `displayedList_` using splices to be equivalent to `newValue`. This |
| * allows the iron-list to delete sublists of items which preserves scroll and |
| * focus on incremental update. |
| - * @param {Array<string>} newValue |
| - * @param {Array<string>} oldValue |
| + * @param {!Array<string>} newValue |
| + * @param {!Array<string>} oldValue |
| */ |
| onDisplayedIdsChanged_: function(newValue, oldValue) { |
| if (!oldValue) { |
|
Dan Beam
2017/05/24 02:52:42
hmmmm, how can !oldValue ever succeed if oldValue
dpapad
2017/05/24 17:45:42
The problem is that calculateSplices() has two dif
scottchen
2017/05/24 20:36:25
Done.
scottchen
2017/05/24 20:36:25
Acknowledged.
|