Index: tracing/tracing/ui/tracks/event_to_track_map.html |
diff --git a/tracing/tracing/ui/tracks/event_to_track_map.html b/tracing/tracing/ui/tracks/event_to_track_map.html |
index 592f8ca3c9504a1c8535cb20c060758ae0522178..3d150e2f97d50d185c3cab19879de6bf7d8883b8 100644 |
--- a/tracing/tracing/ui/tracks/event_to_track_map.html |
+++ b/tracing/tracing/ui/tracks/event_to_track_map.html |
@@ -20,8 +20,9 @@ tr.exportTo('tr.ui.tracks', function() { |
EventToTrackMap.prototype = { |
addEvent: function(event, track) { |
- if (!track) |
+ if (!track) { |
throw new Error('Must provide a track.'); |
+ } |
this[event.guid] = track; |
} |
}; |