| Index: media/filters/chunk_demuxer.h
|
| diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
|
| index e469aa96b5cb1a3d38fbdd4866abdac6bcd23d8e..1c1a361cd0fb2e795d19a32f0130a0b9307dc2b9 100644
|
| --- a/media/filters/chunk_demuxer.h
|
| +++ b/media/filters/chunk_demuxer.h
|
| @@ -289,12 +289,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.
|
|
|