Index: chrome/renderer/media/data_source_impl.cc |
diff --git a/chrome/renderer/media/data_source_impl.cc b/chrome/renderer/media/data_source_impl.cc |
index db4f42c427717e20e7957aa25e43f967de8dab6d..68539e8d9212c9f7985f6e151c8e8e45dd652b82 100644 |
--- a/chrome/renderer/media/data_source_impl.cc |
+++ b/chrome/renderer/media/data_source_impl.cc |
@@ -263,6 +263,7 @@ void DataSourceImpl::OnDownloadProgress(uint64 position, uint64 size) { |
} |
} |
} |
+ host_->SetBufferedBytes(downloaded_bytes_); |
download_event_.Signal(); |
} |
@@ -289,6 +290,7 @@ void DataSourceImpl::OnReceivedResponse( |
if (info.content_length != -1) { |
total_bytes_known_ = true; |
total_bytes_ = info.content_length; |
+ host_->SetTotalBytes(total_bytes_); |
} |
{ |