| 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 6eb3e9ce538bb77c1b9f21c4369df9706460efd7..49ef5fa0c2e41449ae273bf2f2e48f59550cb3a2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js
|
| @@ -43,7 +43,7 @@ WebInspector.TimelineFlameChartDataProviderBase = function(model, filters)
|
| this._timelineData;
|
| this._font = "11px " + WebInspector.fontFamily();
|
| this._filters = filters;
|
| -}
|
| +};
|
|
|
| WebInspector.TimelineFlameChartDataProviderBase.prototype = {
|
| /**
|
| @@ -253,7 +253,7 @@ WebInspector.TimelineFlameChartDataProviderBase.prototype = {
|
| {
|
| return this._filters.every(function(filter) { return filter.accept(event); });
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @enum {symbol}
|
| @@ -325,7 +325,7 @@ WebInspector.TimelineFlameChartDataProvider = function(model, frameModel, irMode
|
| nestingLevel: 1,
|
| shareHeaderLine: true
|
| };
|
| -}
|
| +};
|
|
|
| WebInspector.TimelineFlameChartDataProvider.InstantEventVisibleDurationMs = 0.001;
|
|
|
| @@ -930,7 +930,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
|
| var type = this._entryType(entryIndex);
|
| var timelineSelection = null;
|
| if (type === WebInspector.TimelineFlameChartEntryType.Event)
|
| - timelineSelection = WebInspector.TimelineSelection.fromTraceEvent(/** @type {!WebInspector.TracingModel.Event} */ (this._entryData[entryIndex]))
|
| + timelineSelection = WebInspector.TimelineSelection.fromTraceEvent(/** @type {!WebInspector.TracingModel.Event} */ (this._entryData[entryIndex]));
|
| else if (type === WebInspector.TimelineFlameChartEntryType.Frame)
|
| timelineSelection = WebInspector.TimelineSelection.fromFrame(/** @type {!WebInspector.TimelineFrame} */ (this._entryData[entryIndex]));
|
| if (timelineSelection)
|
| @@ -956,7 +956,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.TimelineFlameChartDataProviderBase.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -969,7 +969,7 @@ WebInspector.TimelineFlameChartNetworkDataProvider = function(model)
|
| var loadingCategory = WebInspector.TimelineUIUtils.categories()["loading"];
|
| this._waitingColor = loadingCategory.childColor;
|
| this._processingColor = loadingCategory.color;
|
| -}
|
| +};
|
|
|
| WebInspector.TimelineFlameChartNetworkDataProvider.prototype = {
|
| /**
|
| @@ -1219,7 +1219,7 @@ WebInspector.TimelineFlameChartNetworkDataProvider.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.TimelineFlameChartDataProviderBase.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1233,7 +1233,7 @@ WebInspector.TimelineFlameChartMarker = function(startTime, startOffset, style)
|
| this._startTime = startTime;
|
| this._startOffset = startOffset;
|
| this._style = style;
|
| -}
|
| +};
|
|
|
| WebInspector.TimelineFlameChartMarker.prototype = {
|
| /**
|
| @@ -1300,7 +1300,7 @@ WebInspector.TimelineFlameChartMarker.prototype = {
|
| }
|
| context.restore();
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1338,7 +1338,7 @@ WebInspector.TimelineFlameChartView = function(delegate, timelineModel, frameMod
|
| this._mainView.addEventListener(WebInspector.FlameChart.Events.EntrySelected, this._onMainEntrySelected, this);
|
| this._networkView.addEventListener(WebInspector.FlameChart.Events.EntrySelected, this._onNetworkEntrySelected, this);
|
| WebInspector.blackboxManager.addChangeListener(this.refreshRecords, this);
|
| -}
|
| +};
|
|
|
| WebInspector.TimelineFlameChartView.prototype = {
|
| /**
|
| @@ -1500,7 +1500,7 @@ WebInspector.TimelineFlameChartView.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.VBox.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1511,4 +1511,4 @@ WebInspector.TimelineFlameChartView.Selection = function(selection, entryIndex)
|
| {
|
| this.timelineSelection = selection;
|
| this.entryIndex = entryIndex;
|
| -}
|
| +};
|
|
|