summaryrefslogtreecommitdiffstats
path: root/content/browser/download/download_file_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/download_file_impl.cc')
-rw-r--r--content/browser/download/download_file_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
index edd7fed..bbe317b 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -232,7 +232,8 @@ void DownloadFileImpl::StreamActive() {
break;
case ByteStreamReader::STREAM_COMPLETE:
{
- reason = stream_reader_->GetStatus();
+ reason = static_cast<DownloadInterruptReason>(
+ stream_reader_->GetStatus());
SendUpdate();
base::TimeTicks close_start(base::TimeTicks::Now());
file_.Finish();