lib/third_party/tracing/model/slice_group.js
function(slices) {
      this.haveTopLevelSlicesBeenBuilt = false;
      slices.forEach(function(slice) {
        slice.parentContainer = this.parentContainer_;
        this.slices.push(slice);
      }, this);
    }
function(slices) {
      this.haveTopLevelSlicesBeenBuilt = false;
      slices.forEach(function(slice) {
        slice.parentContainer = this.parentContainer_;
        this.slices.push(slice);
      }, this);
    }
function ( slices ) { this . haveTopLevelSlicesBeenBuilt = false ; slices . forEach ( function ( slice ) { slice . parentContainer = this . parentContainer_ ; this . slices . push ( slice ) ; } , this ) ; }
Helper function that pushes the provided slices onto the slices array.
@param {Array.<Slice>} slices An array of slices to be added.
Helper function that pushes the provided slices onto the slices array .