Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3681)

Unified Diff: chrome/browser/resources/md_bookmarks/list.js

Issue 2918683002: Roll closure compiler (Closed)
Patch Set: Redo because local branch got messed up Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/types.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75810eaaddfd5c0710b7cc919e29a4d1c6105137..f960e2eb5243cc862611af4093176d11d3436e3d 100644
--- a/chrome/browser/resources/md_bookmarks/list.js
+++ b/chrome/browser/resources/md_bookmarks/list.js
@@ -73,7 +73,9 @@ Polymer({
return {id: id};
});
} else {
- var splices = Polymer.ArraySplice.calculateSplices(newValue, oldValue);
+ var splices = Polymer.ArraySplice.calculateSplices(
+ /** @type {!Array<string>} */ (newValue),
+ /** @type {!Array<string>} */ (oldValue));
splices.forEach(function(splice) {
// TODO(calamity): Could use notifySplices to improve performance here.
var additions =
« no previous file with comments | « no previous file | chrome/browser/resources/md_bookmarks/types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698