| Index: chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
|
| diff --git a/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
|
| index 287622ca3a8a35fd6a7a2e06105ae8397cd8dac6..0b540b9c63a7a326a313e7edfd02afe386ac2fdc 100644
|
| --- a/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
|
| +++ b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
|
| @@ -26,8 +26,8 @@ var CookieTreeBehaviorImpl = {
|
|
|
| /** @override */
|
| ready: function() {
|
| - cr.addWebUIListener('onTreeItemRemoved',
|
| - this.onTreeItemRemoved_.bind(this));
|
| + cr.addWebUIListener(
|
| + 'onTreeItemRemoved', this.onTreeItemRemoved_.bind(this));
|
| this.rootCookieNode = new settings.CookieTreeNode(null);
|
| },
|
|
|
| @@ -43,16 +43,16 @@ var CookieTreeBehaviorImpl = {
|
| var children = childList.children;
|
| var prefix = '';
|
| if (parentId !== null) {
|
| - this.rootCookieNode.populateChildNodes(parentId,
|
| - this.rootCookieNode, children);
|
| + this.rootCookieNode.populateChildNodes(
|
| + parentId, this.rootCookieNode, children);
|
| prefix = parentId + ', ';
|
| }
|
| var promises = [];
|
| for (var i = 0; i < children.length; i++) {
|
| var child = children[i];
|
| if (child.hasChildren) {
|
| - promises.push(this.browserProxy.loadCookieChildren(
|
| - prefix + child.id).then(loadChildrenRecurse.bind(this)));
|
| + promises.push(this.browserProxy.loadCookieChildren(prefix + child.id)
|
| + .then(loadChildrenRecurse.bind(this)));
|
| }
|
| }
|
| return Promise.all(promises);
|
|
|