Chromium Code Reviews| Index: chrome/test/data/webui/md_bookmarks/test_util.js |
| diff --git a/chrome/test/data/webui/md_bookmarks/test_util.js b/chrome/test/data/webui/md_bookmarks/test_util.js |
| index 60dace21c45c5aca46423d1ec4c635b5891e5745..f8c4de2d656b03d18de65774c32b856db27c9f6c 100644 |
| --- a/chrome/test/data/webui/md_bookmarks/test_util.js |
| +++ b/chrome/test/data/webui/md_bookmarks/test_util.js |
| @@ -12,10 +12,13 @@ function replaceBody(element) { |
| } |
| /** |
| - * Convert a tree of bookmark nodes into a normalized lookup table of nodes. |
| + * Convert a list of top-level bookmark nodes into a normalized lookup table of |
| + * nodes. |
| + * @param {...BookmarkTreeNode} nodes |
|
calamity
2017/03/14 03:32:18
Fancy.
|
| */ |
| -function testTree(root) { |
| - return bookmarks.util.normalizeNodes(root); |
| +function testTree(nodes) { |
| + return bookmarks.util.normalizeNodes( |
| + createFolder('0', Array.from(arguments))); |
| } |
| /** |