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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js

Issue 1774503005: [DevTools] Roll closure compiler to ToT version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 WebInspector.TimelineProfileTree = { }; 5 WebInspector.TimelineProfileTree = { };
6 6
7 /** 7 /**
8 * @constructor 8 * @constructor
9 */ 9 */
10 WebInspector.TimelineProfileTree.Node = function() 10 WebInspector.TimelineProfileTree.Node = function()
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 tdNode = tdNode.parent; 166 tdNode = tdNode.parent;
167 buParent = buNode; 167 buParent = buNode;
168 } 168 }
169 } 169 }
170 170
171 // Purge zero self time nodes. 171 // Purge zero self time nodes.
172 var rootChildren = buRoot.children; 172 var rootChildren = buRoot.children;
173 for (var item of rootChildren.entries()) { 173 for (var item of rootChildren.entries()) {
174 if (item[1].selfTime === 0) 174 if (item[1].selfTime === 0)
175 rootChildren.delete(item[0]); 175 rootChildren.delete(/** @type {string} */(item[0]));
176 } 176 }
177 177
178 return buRoot; 178 return buRoot;
179 179
180 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698