Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js |
| index c08f3965af201d88faff04c101447a437d835ac8..185ae8b0d5bd5de310fac9b22ee16727c6f50563 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js |
| @@ -250,6 +250,7 @@ TimelineModel.TimelineProfileTree.TopDownRootNode = class extends TimelineModel. |
| */ |
| _grouppedTopNodes() { |
| var flatNodes = super.children(); |
| + this.selfTime -= Array.from(flatNodes.values()).reduce((acc, node) => acc + node.totalTime, 0); |
|
pfeldman
2017/04/21 20:10:09
Are you implementing this?
for (var node of flatN
alph
2017/04/21 20:19:59
Done.
|
| if (!this._eventGroupIdCallback) |
| return flatNodes; |
| var groupNodes = new Map(); |