| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index 589dbd8ccc5cba7690eab804830edc2b17aeb179..fd38aee810ce7953be9cfadf67a0ef48ae0934d3 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -295,12 +295,8 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
|
| // Returns true if |source_id| is valid, false otherwise.
|
| bool IsValidId(const std::string& source_id) const;
|
|
|
| - // Increases |duration_| if |last_appended_buffer_timestamp| exceeds the
|
| - // current |duration_|. The |duration_| is set to the end buffered timestamp
|
| - // of |stream|.
|
| - void IncreaseDurationIfNecessary(
|
| - base::TimeDelta last_appended_buffer_timestamp,
|
| - ChunkDemuxerStream* stream);
|
| + // Increases |duration_| to |new_duration|, if |new_duration| is higher.
|
| + void IncreaseDurationIfNecessary(base::TimeDelta new_duration);
|
|
|
| // Decreases |duration_| if the buffered region is less than |duration_| when
|
| // EndOfStream() is called.
|
|
|