| Index: Source/devtools/front_end/TimelinePresentationModel.js
|
| diff --git a/Source/devtools/front_end/TimelinePresentationModel.js b/Source/devtools/front_end/TimelinePresentationModel.js
|
| index c7e0c6e93eb51e7bd27b059d85a10f1e707e4b99..2a3b0721bffe95b57e719599c70501bc12a85d1b 100644
|
| --- a/Source/devtools/front_end/TimelinePresentationModel.js
|
| +++ b/Source/devtools/front_end/TimelinePresentationModel.js
|
| @@ -229,6 +229,7 @@ WebInspector.TimelinePresentationModel._hiddenRecords[WebInspector.TimelineModel
|
| WebInspector.TimelinePresentationModel._hiddenRecords[WebInspector.TimelineModel.RecordType.MarkLoad] = 1;
|
| WebInspector.TimelinePresentationModel._hiddenRecords[WebInspector.TimelineModel.RecordType.ScheduleStyleRecalculation] = 1;
|
| WebInspector.TimelinePresentationModel._hiddenRecords[WebInspector.TimelineModel.RecordType.InvalidateLayout] = 1;
|
| +WebInspector.TimelinePresentationModel._hiddenRecords[WebInspector.TimelineModel.RecordType.CommitFrame] = 1;
|
|
|
| WebInspector.TimelinePresentationModel.prototype = {
|
| /**
|
| @@ -278,7 +279,8 @@ WebInspector.TimelinePresentationModel.prototype = {
|
|
|
| addFrame: function(frame)
|
| {
|
| - this._frames.push(frame);
|
| + if (!frame.isBackground)
|
| + this._frames.push(frame);
|
| },
|
|
|
| /**
|
| @@ -1493,9 +1495,9 @@ WebInspector.TimelinePresentationModel.generatePopupContentForFrame = function(f
|
| contentHelper.appendTextRow(WebInspector.UIString("Duration"), durationText);
|
| contentHelper.appendTextRow(WebInspector.UIString("FPS"), Math.floor(1 / durationInSeconds));
|
| contentHelper.appendTextRow(WebInspector.UIString("CPU time"), Number.secondsToString(frame.cpuTime, true));
|
| + contentHelper.appendTextRow(WebInspector.UIString("Thread"), frame.isBackground ? WebInspector.UIString("background") : WebInspector.UIString("main"));
|
| contentHelper.appendElementRow(WebInspector.UIString("Aggregated Time"),
|
| WebInspector.TimelinePresentationModel._generateAggregatedInfo(frame.timeByCategory));
|
| -
|
| return contentHelper.contentTable();
|
| }
|
|
|
|
|