| Index: third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js b/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js
|
| index 9695e4b79e80a6baa3dbe2ba91fb2fca78e2b5af..179e529279978c34d41df04978233c7bc46b73f9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/FlameChart.js
|
| @@ -698,8 +698,9 @@
|
| context.fillText(text, barX + textPadding, barY + textBaseHeight);
|
| }
|
|
|
| + context.restore();
|
| +
|
| this._drawGroupHeaders(width, height);
|
| - context.restore();
|
| this._drawMarkers();
|
| const headerHeight = this._rulerEnabled ? PerfUI.FlameChart.HeaderHeight : 0;
|
| PerfUI.TimelineGrid.drawCanvasGrid(context, this._calculator, 3, headerHeight);
|
| @@ -875,7 +876,7 @@
|
| var timeWindowRight = this._timeWindowRight;
|
| var timeWindowLeft = this._timeWindowLeft - this._paddingLeft / this._timeToPixel;
|
| var context = /** @type {!CanvasRenderingContext2D} */ (this._canvas.getContext('2d'));
|
| - var barHeight = this._barHeight - 1;
|
| + var barHeight = this._barHeight - 2;
|
| var entryStartTimes = this._rawTimelineData.entryStartTimes;
|
| var entryTotalTimes = this._rawTimelineData.entryTotalTimes;
|
|
|
| @@ -902,9 +903,9 @@
|
| const barWidth = endBarX - barX;
|
| context.beginPath();
|
| context.fillStyle = color;
|
| - context.fillRect(barX, y, barWidth, barHeight);
|
| + context.fillRect(barX, y, barWidth, barHeight - 1);
|
| this._dataProvider.decorateEntry(
|
| - entryIndex, context, '', barX, y, barWidth, this._barHeight, unclippedBarX, this._timeToPixel);
|
| + entryIndex, context, '', barX, y, barWidth, barHeight, unclippedBarX, this._timeToPixel);
|
| continue;
|
| }
|
| range.append(new Common.Segment(barX, endBarX, color));
|
|
|