Index: media/filters/file_data_source.cc |
diff --git a/media/filters/file_data_source.cc b/media/filters/file_data_source.cc |
index 8491bfcd2f86d0edc2e7f9c781ff3af45bbe6d0c..d8f14e50704368c8dcfc6c767ee3a44ea1dd402f 100644 |
--- a/media/filters/file_data_source.cc |
+++ b/media/filters/file_data_source.cc |
@@ -110,7 +110,7 @@ FileDataSource::~FileDataSource() { |
void FileDataSource::UpdateHostBytes() { |
if (host() && file_) { |
host()->SetTotalBytes(file_size_); |
- host()->SetBufferedBytes(file_size_); |
+ host()->AddBufferedByteRange(0, file_size_); |
} |
} |