lib/third_party/tracing/model/location.js
function(viewport) {
      var containerToTrack = viewport.containerToTrackMap;
      for (var i in this.yComponents_) {
        var yComponent = this.yComponents_[i];
        var track = containerToTrack.getTrackByStableId(yComponent.stableId);
        if (track !== undefined)
          return track;
      }
    }
function(viewport) {
      var containerToTrack = viewport.containerToTrackMap;
      for (var i in this.yComponents_) {
        var yComponent = this.yComponents_[i];
        var track = containerToTrack.getTrackByStableId(yComponent.stableId);
        if (track !== undefined)
          return track;
      }
    }
function ( viewport ) { var containerToTrack = viewport . containerToTrackMap ; for ( var i in this . yComponents_ ) { var yComponent = this . yComponents_ [ i ] ; var track = containerToTrack . getTrackByStableId ( yComponent . stableId ) ; if ( track !== undefined ) return track ; } }
Returns the first valid containing track based on the
internal yComponents.
Returns the first valid containing track based on the internal yComponents .