* public/v2/interactive-chart.js:
(App.InteractiveChartComponent._updateRangeBarRects):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190704
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-10-07 Ryosuke Niwa <rniwa@webkit.org>
+
+ Unreviewed race condition fix. Exit early when xScale or yScale is not defined.
+
+ * public/v2/interactive-chart.js:
+ (App.InteractiveChartComponent._updateRangeBarRects):
+
2015-10-07 Ryosuke Niwa <rniwa@webkit.org>
Add a page that cycles through v2 dashboards
2015-10-07 Ryosuke Niwa <rniwa@webkit.org>
Add a page that cycles through v2 dashboards
var xScale = this._x;
var yScale = this._y;
var xScale = this._x;
var yScale = this._y;
+ if (!xScale || !yScale)
+ return;
// Expand the width of each range as needed and sort ranges by the left-edge of ranges.
var minWidth = 3;
// Expand the width of each range as needed and sort ranges by the left-edge of ranges.
var minWidth = 3;