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

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

Issue 2774233006: [MD Bookmarks] Change selection items from Map to Set. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « chrome/browser/resources/md_bookmarks/types.js ('k') | chrome/test/data/webui/md_bookmarks/app_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_bookmarks/util.js
diff --git a/chrome/browser/resources/md_bookmarks/util.js b/chrome/browser/resources/md_bookmarks/util.js
index 1227a61f01ca3d59a06d5884ac2ffa083075ad11..26d209f0c20cb972cf8ca66e5dce4852ab789fe8 100644
--- a/chrome/browser/resources/md_bookmarks/util.js
+++ b/chrome/browser/resources/md_bookmarks/util.js
@@ -54,14 +54,14 @@ cr.define('bookmarks.util', function() {
return {
nodes: {},
selectedFolder: '0',
- closedFolders: {},
+ closedFolders: new Set(),
search: {
term: '',
inProgress: false,
results: [],
},
selection: {
- items: {},
+ items: new Set(),
anchor: null,
},
};
« no previous file with comments | « chrome/browser/resources/md_bookmarks/types.js ('k') | chrome/test/data/webui/md_bookmarks/app_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698