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..30b0dcee65aa864c45da92c35fd95730fbae30c4 100644 |
| --- a/chrome/browser/resources/md_bookmarks/list.js |
| +++ b/chrome/browser/resources/md_bookmarks/list.js |
| @@ -70,7 +70,9 @@ Polymer({ |
| return {id: id}; |
| }); |
| } else { |
| - var splices = Polymer.ArraySplice.calculateSplices(newValue, oldValue); |
| + var splices = Polymer.ArraySplice.calculateSplices( |
| + /** @type {!Array<string>}*/ (newValue), |
|
dpapad
2017/05/24 21:22:13
Nit: Space after "}"
/** @type {!Array<string>} */
scottchen
2017/05/25 19:31:26
There's issues with patching a CL with a jar invol
dpapad
2017/05/25 20:34:40
OK.
|
| + /** @type {!Array<string>}*/ (oldValue)); |
| splices.forEach(function(splice) { |
| // TODO(calamity): Could use notifySplices to improve performance here. |
| var additions = |