Commit 3962a4d7 authored by Alexei Filippov's avatar Alexei Filippov Committed by Commit Bot

DevTools: Fix CPU profile flamechart is empty.

Bug: 734239
Change-Id: Ia815aa693ab6719a0a26d65231db1a04c26a2c4d
Reviewed-on: https://chromium-review.googlesource.com/578513
Commit-Queue: Alexei Filippov <alph@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#488294}
parent 7d54c1b5
...@@ -93,14 +93,15 @@ PerfUI.FlameChart = class extends UI.VBox { ...@@ -93,14 +93,15 @@ PerfUI.FlameChart = class extends UI.VBox {
this._rulerEnabled = true; this._rulerEnabled = true;
this._windowLeft = 0.0; this._windowLeft = 0.0;
this._windowRight = 1.0; this._windowRight = 1.0;
this._timeWindowLeft = 0; this._timeWindowLeft = dataProvider.minimumBoundary();
this._timeWindowRight = Infinity; this._timeWindowRight = this._timeWindowLeft + dataProvider.totalTime();
this._rangeSelectionStart = 0; this._rangeSelectionStart = 0;
this._rangeSelectionEnd = 0; this._rangeSelectionEnd = 0;
this._barHeight = 17; this._barHeight = 17;
this._textBaseline = 5; this._textBaseline = 5;
this._textPadding = 5; this._textPadding = 5;
this._markerRadius = 6; this._markerRadius = 6;
this._chartViewport.setWindowTimes(this._timeWindowLeft, this._timeWindowRight);
/** @const */ /** @const */
this._headerLeftPadding = 6; this._headerLeftPadding = 6;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment