Another build fix.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jul 2017 03:00:04 +0000 (03:00 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jul 2017 03:00:04 +0000 (03:00 +0000)
* public/v3/components/chart-pane-base.js:
(ChartPaneBase.prototype._updateCommitLogViewer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219381 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/components/chart-pane-base.js

index 4fda608..3cf3a8b 100644 (file)
@@ -1,5 +1,12 @@
 2017-07-11  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Another build fix.
+
+        * public/v3/components/chart-pane-base.js:
+        (ChartPaneBase.prototype._updateCommitLogViewer):
+
+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:
index 574f029..16ce207 100644 (file)
@@ -164,6 +164,8 @@ class ChartPaneBase extends ComponentBase {
 
     _updateCommitLogViewer()
     {
+        if (!this._revisionRange)
+            return;
         const range = this._revisionRange.rangeForRepository(this._openRepository);
         this._commitLogViewer.view(this._openRepository, range.from, range.to);
         this.enqueueToRender();