| Index: media/filters/source_buffer_stream.h
|
| diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
|
| index afef6f74202dc025ad202083a4a2dcca842c3d22..6c43f6ed421dbe39b7d9e92baa97ea3327dbf423 100644
|
| --- a/media/filters/source_buffer_stream.h
|
| +++ b/media/filters/source_buffer_stream.h
|
| @@ -142,9 +142,7 @@ class MEDIA_EXPORT SourceBufferStream {
|
| // yet.
|
| base::TimeDelta GetMaxInterbufferDistance() const;
|
|
|
| - void set_memory_limit(int memory_limit) {
|
| - memory_limit_ = memory_limit;
|
| - }
|
| + void SetMemoryLimit(size_t memory_limit);
|
|
|
| private:
|
| friend class SourceBufferStreamTest;
|
| @@ -396,7 +394,7 @@ class MEDIA_EXPORT SourceBufferStream {
|
| base::TimeDelta max_interbuffer_distance_;
|
|
|
| // The maximum amount of data in bytes the stream will keep in memory.
|
| - int memory_limit_;
|
| + size_t memory_limit_;
|
|
|
| // Indicates that a kConfigChanged status has been reported by GetNextBuffer()
|
| // and GetCurrentXXXDecoderConfig() must be called to update the current
|
|
|