| Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| index e85439fe65bfda124757908bc255fff80bf977ed..ceb1b1e7d635003f66fd22ce04b90c226ec538f4 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| @@ -337,7 +337,8 @@ Timeline.TimelineFlameChartDataProvider = class {
|
| var level = this._currentLevel + openEvents.length;
|
| if (flowEventsEnabled)
|
| this._appendFlowEvent(e, level);
|
| - this._appendEvent(e, level);
|
| + if (e.phase !== SDK.TracingModel.Phase.FlowEnd)
|
| + this._appendEvent(e, level);
|
| if (!isExtension && TimelineModel.TimelineModel.isMarkerEvent(e))
|
| this._timelineData.entryTotalTimes[this._entryData.length] = undefined;
|
|
|
| @@ -768,7 +769,6 @@ Timeline.TimelineFlameChartDataProvider = class {
|
| this._flowEventIndexById.set(event.id, pushStartFlow(event));
|
| break;
|
| case SDK.TracingModel.Phase.FlowEnd:
|
| - pushEndFlow(event, this._flowEventIndexById.get(event.id));
|
| this._flowEventIndexById.delete(event.id);
|
| break;
|
| }
|
|
|