code: function() {
        this.updateBounds();
        var maxTimestamp = this.bounds.max;
        for (var sI = 0; sI < this.slices.length; sI++) {
          var slice = this.slices[sI];
          if (slice.didNotFinish)
            slice.duration = maxTimestamp - slice.start;
        }
        this.openPartialSlices_ = [];
      }
docs: Closes any open slices.
  @param {Number=} opt_maxTimestamp The end time to use for the closed
  slices. If not provided,
  the max timestamp for this slice is provided.