Unreviewed build fix after r179611.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2015 20:36:04 +0000 (20:36 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 Feb 2015 20:36:04 +0000 (20:36 +0000)
* public/v2/interactive-chart.js:

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

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v2/interactive-chart.js

index eff5a915c06bbdaf66ccf413460c04ef0bb6bf81..973db4751fb369f9e564d32a26050ec71c56c586 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-04  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Unreviewed build fix after r179611.
+
+        * public/v2/interactive-chart.js:
+
 2015-02-04  Ryosuke Niwa  <rniwa@webkit.org>
 
         Perf dashboard doesn’t show the right unit for Safari UI tests
index 56468567d5fb8010b36b8df5eee223977eb30caf..ac17e186266837d75ffbb4533692034acf46373a 100644 (file)
@@ -576,11 +576,11 @@ App.InteractiveChartComponent = Ember.Component.extend({
         }
     }.observes('selectedItem').on('init'),
     _highlightedItemsChanged: function () {
-        if (!this._clippedContainer)
-            return;
-
         var highlightedItems = this.get('highlightedItems');
 
+        if (!this._clippedContainer || !highlightedItems)
+            return;
+
         var data = this._currentTimeSeriesData.filter(function (item) { return highlightedItems[item.measurement.id()]; });
 
         if (this._highlights)