summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralph <alph@chromium.org>2016-03-22 17:36:58 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-23 00:38:40 +0000
commit57b56267f59c3aacc5e326ffabd0e2ce42952285 (patch)
treea7f3bd365c2e21e518a28d730ccd6a3fad88f506
parent53e4c917c7ad7892bd763c2b1e66c53c5df50a57 (diff)
downloadchromium_src-57b56267f59c3aacc5e326ffabd0e2ce42952285.zip
chromium_src-57b56267f59c3aacc5e326ffabd0e2ce42952285.tar.gz
chromium_src-57b56267f59c3aacc5e326ffabd0e2ce42952285.tar.bz2
DevTools: Fix a deopt in FlameChart.timeToPosition
R=caseq@chromium.org Review URL: https://codereview.chromium.org/1822203002 Cr-Commit-Position: refs/heads/master@{#382746}
-rw-r--r--third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
index 096d801..da1c28a 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui_lazy/FlameChart.js
@@ -96,6 +96,8 @@ WebInspector.FlameChart = function(dataProvider, flameChartDelegate, groupExpans
this._windowRight = 1.0;
this._timeWindowLeft = 0;
this._timeWindowRight = Infinity;
+ this._rangeSelectionStart = 0;
+ this._rangeSelectionEnd = 0;
this._barHeight = dataProvider.barHeight();
this._paddingLeft = this._dataProvider.paddingLeft();
var markerPadding = 2;