Unreviewed build fix after r179611.
[WebKit-https.git] / Websites / perf.webkit.org / public / v2 / interactive-chart.js
index 5646856..ac17e18 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)