+2017-07-11 Ryosuke Niwa <rniwa@webkit.org>
+
+ Build fix. It looks like the code here is racy.
+
+ * public/v3/components/chart-pane-base.js:
+ (ChartPaneBase.prototype.configure):
+ (ChartPaneBase.prototype.setOpenRepository):
+
2017-07-11 Ryosuke Niwa <rniwa@webkit.org>
Show the roots built by perf try bots on results page
this._revisionRange = new ChartRevisionRange(this._mainChart);
this._mainChartStatus = new ChartPaneStatusView(result.metric, this._mainChart);
+ this._mainChartStatus.setCurrentRepository(this._openRepository);
this._mainChartStatus.listenToAction('openRepository', this.openNewRepository.bind(this));
this.renderReplace(this.content().querySelector('.chart-pane-details'), this._mainChartStatus);
setOpenRepository(repository)
{
this._openRepository = repository;
- this._mainChartStatus.setCurrentRepository(repository);
+ if (this._mainChartStatus)
+ this._mainChartStatus.setCurrentRepository(repository);
this._updateCommitLogViewer();
}