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

Unified Diff: chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js

Issue 2649663002: WebUI: Undo some usages of ES6 features that break uglify. (Closed)
Patch Set: Fix i->j Created 3 years, 11 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
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 9f090f7bec2a08d99bb316e0514f3dbf543658c9..287622ca3a8a35fd6a7a2e06105ae8397cd8dac6 100644
--- a/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
+++ b/chrome/browser/resources/settings/site_settings/cookie_tree_behavior.js
@@ -48,7 +48,8 @@ var CookieTreeBehaviorImpl = {
prefix = parentId + ', ';
}
var promises = [];
- for (let child of children) {
+ 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)));

Powered by Google App Engine
This is Rietveld 408576698