Title: [201309] trunk/Websites/perf.webkit.org
Revision
201309
Author
[email protected]
Date
2016-05-23 17:50:32 -0700 (Mon, 23 May 2016)

Log Message

Build fix after r201307.

* public/v3/pages/chart-pane.js:
(ChartPane.prototype.serializeState):

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (201308 => 201309)


--- trunk/Websites/perf.webkit.org/ChangeLog	2016-05-24 00:35:43 UTC (rev 201308)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2016-05-24 00:50:32 UTC (rev 201309)
@@ -1,5 +1,12 @@
 2016-05-23  Ryosuke Niwa  <[email protected]>
 
+        Build fix after r201307.
+
+        * public/v3/pages/chart-pane.js:
+        (ChartPane.prototype.serializeState):
+
+2016-05-23  Ryosuke Niwa  <[email protected]>
+
         Some applications truncates the last closing parenthesis in perf dashboard URL
         https://bugs.webkit.org/show_bug.cgi?id=157976
 

Modified: trunk/Websites/perf.webkit.org/public/v3/pages/chart-pane.js (201308 => 201309)


--- trunk/Websites/perf.webkit.org/public/v3/pages/chart-pane.js	2016-05-24 00:35:43 UTC (rev 201308)
+++ trunk/Websites/perf.webkit.org/public/v3/pages/chart-pane.js	2016-05-24 00:50:32 UTC (rev 201309)
@@ -18,10 +18,11 @@
         var state = [this._platformId, this._metricId];
         if (this._mainChart) {
             var selection = this._mainChart.currentSelection();
+            var currentPoint = this._mainChart.currentPoint();
             if (selection)
                 state[2] = selection;
-            else if (this._mainChartIndicatorWasLocked)
-                state[2] = this._mainChart.currentPoint().id;
+            else if (this._mainChartIndicatorWasLocked && currentPoint)
+                state[2] = currentPoint.id;
         }
         return state;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to